Файл: upload/module/music/include/component/block/latest-album.class.php
Строк: 31
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Component
* @version $Id: latest-album.class.php 867 2009-08-17 13:58:08Z Raymond_Benc $
*/
class Music_Component_Block_Latest_Album extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
$this->template()->assign(array(
'aAlbums' => Phpfox::getService('music.album')->getLatestAlbums()
)
);
}
/**
* 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('music.component_block_latest_album_clean')) ? eval($sPlugin) : false);
}
}
?>