Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/comment/comments.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 list of comments. @see AnUikitComment
 * @return 
 * @param $options Object[optional]
 */
class AnUikitCommentComments extends AnUikitViewUikit
{
	/**
	 * Initialize the comments view
	 * @param $options Array[optional]
	 */
	public function __construct(array $options=array())
	{
		parent::__construct($options);
		$this->setLayout('comments');
	}
	
	/**
	 * Set a list of comments to be rendered. Each comment must already be mixed with @AnUikitAction to support
	 * getActions
	 * @return 
	 * @param $comments Object
	 */
	public function setComments($comments)
	{
		$this->assign('comments', $comments);
		return $this;
	}
	
//end class	
}
Return current item: Anahita Social Engine