PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/pdf/code/trunk/administrator/components/com_artofpdf/controller.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 45 lines | 12 code | 5 blank | 28 comment | 0 complexity | 7c8eda4e44198926edc4e74c951a1200 MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: controller.php 273 2010-09-09 10:27:04Z 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.controller');
  13. /**
  14. * Pdf Component Controller
  15. *
  16. * @package NewLifeInIT
  17. * @subpackage com_artofpdf
  18. * @since 1.0
  19. */
  20. class ArtofPdfController extends JController
  21. {
  22. /**
  23. * @var string The default view.
  24. * @since 1.0
  25. */
  26. protected $default_view = 'pdfs';
  27. /**
  28. * Override the display method for the controller.
  29. *
  30. * @return void
  31. * @since 1.0
  32. */
  33. function display()
  34. {
  35. // Load the component helper.
  36. require_once JPATH_COMPONENT.'/helpers/artofpdf.php';
  37. // Display the view.
  38. parent::display();
  39. }
  40. }