/pdf/code/trunk/administrator/components/com_artofpdf/views/com_menus/view.html.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive · PHP · 37 lines · 13 code · 4 blank · 20 comment · 1 complexity · 40d0015b476f475f2d282190a25456c3 MD5 · raw file

  1. <?php
  2. /**
  3. * @version $Id: view.html.php 278 2010-09-14 11:11:09Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_artofpdf
  6. * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
  7. * @license GNU General Public License version 2 or later.
  8. * @link http://www.theartofjoomla.com
  9. */
  10. // No direct access
  11. defined('_JEXEC') or die;
  12. jimport('joomla.application.component.view');
  13. /**
  14. * @package NewLifeInIT
  15. * @subpackage com_artofpdf
  16. * @since 1.0
  17. */
  18. class ArtofPdfViewCom_Menus extends JView
  19. {
  20. /**
  21. * Override the view display method.
  22. *
  23. * @since 1.0
  24. */
  25. public function display()
  26. {
  27. // Determine which layout we are using.
  28. if (isset($this->content['menu'])) {
  29. $this->setLayout('menu');
  30. }
  31. parent::display();
  32. }
  33. }