Файл: upload/module/video/include/component/block/filter.class.php
Строк: 33
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Component
* @version $Id: filter.class.php 1126 2009-10-03 12:05:33Z Miguel_Espinoza $
*/
class Video_Component_Block_Filter extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
if (defined('PHPFOX_IS_USER_PROFILE'))
{
return false;
}
$this->template()->assign(array(
'sHeader' => Phpfox::getPhrase('video.browse_filter')
)
);
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('video.component_block_filter_clean')) ? eval($sPlugin) : false);
}
}
?>