/pdf/code/trunk/administrator/components/com_artofpdf/controller.php
PHP | 45 lines | 12 code | 5 blank | 28 comment | 0 complexity | 7c8eda4e44198926edc4e74c951a1200 MD5 | raw file
- <?php
- /**
- * @version $Id: controller.php 273 2010-09-09 10:27:04Z 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.controller');
- /**
- * Pdf Component Controller
- *
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @since 1.0
- */
- class ArtofPdfController extends JController
- {
- /**
- * @var string The default view.
- * @since 1.0
- */
- protected $default_view = 'pdfs';
- /**
- * Override the display method for the controller.
- *
- * @return void
- * @since 1.0
- */
- function display()
- {
- // Load the component helper.
- require_once JPATH_COMPONENT.'/helpers/artofpdf.php';
- // Display the view.
- parent::display();
- }
- }