Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/actor/selection.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
 */

class AnUikitActorSelection extends AnUikitViewUikit
{
	protected $_layout = 'selection';
	
	public function setLayout($layout) {}
	
	/**
	 * 
	 * @return 
	 * @param $actors Object
	 * @param $unselectable Object[optional]
	 */
	public function setActors($actors, $selected, $allow_unselect = true)
	{
		$this->assign('actors',   $actors);
		$this->assign('selected', $selected);
		$this->assign('allow_unselect', $allow_unselect ? 'true' : 'false');
		return $this;
	}
	
	/**
	 * 
	 * @return 
	 * @param $form Object
	 */
	public function setForm($form)
	{
		$this->assign('form', $form);
		return $this;
	}
}
Return current item: Anahita Social Engine