Файл: upload/module/blog/include/component/controller/profile.class.php
Строк: 42
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
* Profile
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Blog
* @version $Id: profile.class.php 2255 2011-01-11 19:07:32Z Raymond_Benc $
*/
class Blog_Component_Controller_Profile extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
$this->setParam('bIsProfile', true);
$aUser = $this->getParam('aUser');
$this->template()->setMeta('keywords', Phpfox::getPhrase('blog.full_name_s_blogs', array('full_name' => $aUser['full_name'])));
$this->template()->setMeta('description', Phpfox::getPhrase('blog.full_name_s_blogs_on_site_title', array('full_name' => $aUser['full_name'], 'site_title' => Phpfox::getParam('core.site_title'))));
Phpfox::getComponent('blog.index', array('bNoTemplate' => true), 'controller');
}
/**
* Garbage collector. Is executed after this class has completed
* its job and the template has also been displayed.
*/
public function clean()
{
(($sPlugin = Phpfox_Plugin::get('blog.component_controller_profile_clean')) ? eval($sPlugin) : false);
}
}
?>