Файл: upload/module/invite/include/component/block/find.class.php
Строк: 42
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Invite
* @version $Id: find.class.php 1161 2009-10-09 07:42:41Z Raymond_Benc $
*/
class Invite_Component_Block_Find extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
$this->template()->assign(array(
'sHeader' => Phpfox::getPhrase('invite.find_friends'),
'aRandomUsers' => Phpfox::getService('user')->getRandom()
)
);
return 'block';
}
/**
* 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('invite.component_controller_index_clean')) ? eval($sPlugin) : false);
}
}
?>