View file PF.Base/module/core/include/component/block/new-setting.class.php

File size: 770B
<?php
/**
 * [PHPFOX_HEADER]
 */

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

/**
 * 
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package 		Phpfox_Component
 * @version 		$Id: new-setting.class.php 627 2009-06-02 12:54:25Z Raymond_Benc $
 */
class Core_Component_Block_New_Setting extends Phpfox_Component
{
	/**
	 * Controller
	 */
	public function process()
	{
		$this->template()->assign(array(
				'aModuleItems' => Core_Service_Core::instance()->getNewMenu(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('core.component_block_new_setting_clean')) ? eval($sPlugin) : false);
	}
}