Вход Регистрация
Файл: upload/module/report/include/component/block/browse.class.php
Строк: 34
<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * 
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author          Raymond Benc
 * @package         Phpfox_Component
 * @version         $Id: browse.class.php 883 2009-08-21 09:59:17Z Raymond_Benc $
 */
class Report_Component_Block_Browse extends Phpfox_Component
{
    
/**
     * Class process method wnich is used to execute this component.
     */
    
public function process()
    {
        
Phpfox::isUser(true);
        
Phpfox::getUserParam('admincp.has_admin_access'true);
        
        
$this->template()->assign(array(
                
'aReports' => Phpfox::getService('report.data')->getReports($this->request()->getInt('data_id'))
            )
        );    
    }
    
    
/**
     * 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('report.component_block_browse_clean')) ? eval($sPlugin) : false);
    }
}

?>
Онлайн: 2
Реклама