Файл: upload/module/video/include/component/block/new.class.php
Строк: 33
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Component
* @version $Id: new.class.php 541 2009-05-18 09:03:06Z Raymond_Benc $
*/
class Video_Component_Block_New extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
$this->template()->assign(array(
'aVideos' => Phpfox::getService('video')->getNew()->get()
)
);
}
/**
* 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_new_clean')) ? eval($sPlugin) : false);
}
}
?>