Вход Регистрация
Файл: upload/module/core/include/component/block/translate-child-country.class.php
Строк: 41
<?php
/**
 * [PHPFOX_HEADER]
 */

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

/**
 * 
 * 
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author          Raymond Benc
 * @package         Phpfox_Component
 * @version         $Id: translate-child-country.class.php 1329 2009-12-16 17:01:32Z Raymond_Benc $
 */
class Core_Component_Block_Translate_Child_Country extends Phpfox_Component
{
    
/**
     * Class process method wnich is used to execute this component.
     */
    
public function process()
    {
        
$this->template()->assign(array(
                
'sChildId' => $this->request()->get('child_id'),
                
'sChildVarName' => 'core.translate_country_child_' strtolower($this->request()->get('child_id')),
                
'sCountryName' => Phpfox::getService('core.country')->getChild($this->request()->get('child_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('core.component_block_translate_child_country_clean')) ? eval($sPlugin) : false);
    }
}

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