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

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

/**
 * 
 * 
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author          Raymond Benc
 * @package         Phpfox_Component
 * @version         $Id: form.class.php 798 2009-07-23 20:07:08Z Raymond_Benc $
 */
class Admincp_Component_Block_Product_Form extends Phpfox_Component
{
    
/**
     * Class process method wnich is used to execute this component.
     */
    
public function process()
    {
        
$this->template()->assign(array(
                
'aProducts' => Phpfox::getService('admincp.product')->get(),
                
'bUseClass' => $this->getParam('class'),
                
'bProductIsRequired' => $this->getParam('product_form_required'true)
            )
        );
    }
    
    
/**
     * 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('admincp.component_block_product_form_clean')) ? eval($sPlugin) : false);
    }
}

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