PageRenderTime 55ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 37 lines | 13 code | 4 blank | 20 comment | 1 complexity | 6583ba17d95b7af79e9aa9e5dd4ce299 MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: view.html.php 274 2010-09-09 12:37:52Z 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_Content 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['sections'])) {
  29. $this->setLayout('sections');
  30. }
  31. parent::display();
  32. }
  33. }