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

/exchange/code/trunk/administrator/components/com_exchange/views/import/view.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 45 lines | 18 code | 6 blank | 21 comment | 0 complexity | 3532636bf0a8a09b99da5490538a59f4 MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: view.php 280 2010-09-18 02:14:15Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_exchange
  6. * @copyright Copyright 2005 - 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 jXExchange
  15. */
  16. class ExchangeViewImport extends JView
  17. {
  18. /**
  19. * Display the view
  20. *
  21. * @access public
  22. */
  23. function display($tpl=null)
  24. {
  25. $state = $this->get('State');
  26. $this->assignRef('state', $state);
  27. $this->_setToolbar();
  28. parent::display($tpl);
  29. }
  30. /**
  31. * Display the toolbar
  32. * @access public
  33. */
  34. function _setToolbar()
  35. {
  36. JToolBarHelper::title(JText::_('JX Exchange: Import'), 'logo');
  37. JToolBarHelper::help('index', 'true');
  38. }
  39. }