Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/comment/comment.php
<?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	
}
Return current item: Anahita Social Engine