Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/people/person.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 AnUikitPeoplePerson extends AnUikitViewUikit
{
	public function __construct($options=array())
	{
		parent::__construct($options);
		$this->setLayout('person');	
	}
	
	/**
	 * 
	 * @param $people Array Object
	 */
	public function setPerson($person)
	{				
		$person->mixin( KFactory::tmp('lib.anahita.uikit.action.mixin') );
		KFactory::get('lib.anahita.uikit.people.actions')->add( $person );
		$this->assign('person', $person);
		return $this;
	}
}
Return current item: Anahita Social Engine