Файл: upload/module/share/include/component/block/friend.class.php
Строк: 34
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Component
* @version $Id: friend.class.php 1224 2009-10-27 19:03:46Z Raymond_Benc $
*/
class Share_Component_Block_Friend extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
Phpfox::isUser(true);
$this->template()->assign(array(
'sTitle' => $this->request()->get('title'),
'sMessage' => Phpfox::getPhrase('share.hi_check_this_out_bbcode', array('url' => $this->request()->get('url')))
)
);
}
/**
* 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('share.component_block_friend_clean')) ? eval($sPlugin) : false);
}
}
?>