Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/header/media.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 AnUikitHeaderMedia extends AnUikitHeaderPage
{
	protected $_actor			= null;
		
	public function __construct(array $options=array())
	{
		parent::__construct($options);
		$this->setLayout('media');
	}
	
	/*
	 * Method to set the header actor node
	 * @return AnModelActorInterface class instance
	 */
	public function setActor($actor)
	{
		$this->_actor = $actor;
		return $this;
	}
	
	/*
	 * Method load the template layout
	 * @return template file stream
	 */
	public function loadTemplate($identifier=null)
	{
				
		$this->assign('actor', $this->_actor);
	
		return parent::loadTemplate($identifier);
	}

//end class
}
Return current item: Anahita Social Engine