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

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

/**
 * 
 * 
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author          Raymond_Benc
 * @package         Phpfox_Component
 * @version         $Id: images.class.php 2833 2011-08-15 19:56:43Z Raymond_Benc $
 */
class User_Component_Block_Images extends Phpfox_Component
{
    
/**
     * Class process method wnich is used to execute this component.
     */
    
public function process()
    {
        
$aUserImages Phpfox::getService('user')->getUserImages();
        
        if (!
is_array($aUserImages) || (is_array($aUserImages) && !count($aUserImages)))
        {
            return 
false;
        }
        
        
$this->template()->assign(array(
                
'aUserImages' => $aUserImages
            
)
        );
    }
    
    
/**
     * 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('user.component_block_images_clean')) ? eval($sPlugin) : false);
    }
}

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