Вход Регистрация
Файл: upload/module/egift/include/component/controller/admincp/invoice.class.php
Строк: 48
<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');
define('PHPFOX_SKIP_POST_PROTECTION'true);
/**
 * 
 * 
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author          Miguel Espinoza
 * @package         Phpfox_Component
 * @version         $Id: controller.class.php 103 2009-01-27 11:32:36Z Raymond_Benc $
 */
class Egift_Component_Controller_Admincp_Invoice extends Phpfox_Component
{
    
/**
     * Class process method wnich is used to execute this component.
     */
    
public function process()
    {
        
Phpfox::isUser(true);
        
$aInvoices Phpfox::getService('egift')->getInvoices();

        
$this->template()->setTitle(Phpfox::getPhrase('friend.invoices'))
            ->
setBreadcrumb(Phpfox::getPhrase('egift.module_egift'), $this->url()->makeUrl('admincp.egift'))
            ->
setBreadcrumb(Phpfox::getPhrase('egift.admin_menu_invoices'), nulltrue)
            ->
setHeader('cache', array(
                    
//'table.css' => 'style_css'
                
)
            )
            ->
assign(array(
                    
'aInvoices' => $aInvoices
                
)
            );
    }
    
    
/**
     * 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('egift.component_controller_index_clean')) ? eval($sPlugin) : false);
    }
}

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