<?php
/**
* Render an actor status
*/
class AnUikitActorStatus extends AnUikitViewUikit
{
/**
* Initialize the actor and the set actor to the default owner
* @return
* @param $options Object
*/
public function __construct($options)
{
parent::__construct($options);
$this->setLayout('status');
$this->setActor( $this->getOwner('id') );
}
/**
*
* @return
* @param $actor Object
*/
public function setActor($actor)
{
$this->assign('actor', $actor);
return $this;
}
}