<?php
/**
* @version 1.0.0
* @category Anahita Social Engineâ¢
* @copyright Copyright (C) 2008 - 2010 rmdStudio Inc. and Peerglobe Technology Inc. All rights reserved.
* @license GNU GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
* @link http://www.anahitapolis.com
*/
/**
* Render a comment. The comment must already be mixed with @AnUikitAction to support getActions
*/
class AnUikitComment extends AnUikitViewUikit
{
/**
* Initialize a Comment View
* @return
* @param $options Object[optional]
*/
public function __construct(array $options=array())
{
parent::__construct($options);
$this->setLayout('comment');
}
/**
* Set the comment to render
* @param $comment AnModelComment
*/
public function setComment($comment)
{
$this->assign('comment', $comment);
return $this;
}
//end class
}