Location: PHPKode > projects > Anahita Social Engine > site/views/search/html.php
<?php
/**
 * @category	Anahita Social Engine™
 * @copyright	Copyright (C) 2007 - 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 ComSocialengineViewSearchHtml extends ComSocialengineViewHtml
{
	protected $search_action = null;
	
	protected function prepareDefaultLayout()
	{
		$header = KFactory::get('lib.anahita.uikit.header.page')->setTitle($this->getMenuTitle());
		$this->assign('header', $header);
	}
	
	protected function prepareSearchLayout()
	{
		if(!$this->search_action)
			$this->assign('search_action', 'view=people&layout=list');
	}
	
//end class	
}
Return current item: Anahita Social Engine