/pdf/code/trunk/administrator/components/com_artofpdf/views/com_content/view.html.php
PHP | 37 lines | 13 code | 4 blank | 20 comment | 1 complexity | 6583ba17d95b7af79e9aa9e5dd4ce299 MD5 | raw file
- <?php
- /**
- * @version $Id: view.html.php 274 2010-09-09 12:37:52Z 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;
- jimport('joomla.application.component.view');
- /**
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @since 1.0
- */
- class ArtofPdfViewCom_Content extends JView
- {
- /**
- * Override the view display method.
- *
- * @since 1.0
- */
- public function display()
- {
- // Determine which layout we are using.
- if (isset($this->content['sections'])) {
- $this->setLayout('sections');
- }
- parent::display();
- }
- }