/pdf/code/trunk/administrator/components/com_artofpdf/views/com_menus/tmpl/menu.php
PHP | 29 lines | 12 code | 5 blank | 12 comment | 0 complexity | c6ac0294c84a635fc9183c110fd063a9 MD5 | raw file
- <?php
- /**
- * @version $Id: menu.php 278 2010-09-14 11:11:09Z eddieajau $
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License version 2 or later.
- * @link http://www.theartofjoomla.com
- */
- // No direct access
- defined('_JEXEC') or die;
- JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
- //JHtml::stylesheet('default.css', 'administrator/components/com_artofpdf/media/css/');
- // This view is rather complicated so we need to work directly with the model.
- $model = $this->getModel();
- $items = &$model->getItems();
- ?>
- <?php foreach ($items as $item) : ?>
- <?php
- // Resolve the item.
- $this->resolved = $model->resolve($item);
- echo $this->loadTemplate($this->resolved->layout);
- ?>
- <?php endforeach; ?>