the-art-of-joomla-archive /pdf/code/trunk/administrator/components/com_artofpdf/views/com_menus/tmpl/menu.php

Language PHP Lines 29
MD5 Hash c6ac0294c84a635fc9183c110fd063a9 Estimated Cost $148 (why?)
Repository https://bitbucket.org/eddieajau/the-art-of-joomla-archive View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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; ?>
Back to Top