PageRenderTime 44ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 49 lines | 22 code | 6 blank | 21 comment | 0 complexity | cdfea63110bce3fde68080a7a3b4ee62 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 ExchangeViewMigrate 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. $files = $this->get('Files');
  27. $this->assignRef('state', $state);
  28. $this->assignRef('files', $files);
  29. $this->assignRef('form', $this->get('Form'));
  30. $this->_setToolbar();
  31. parent::display($tpl);
  32. }
  33. /**
  34. * Display the toolbar
  35. * @access public
  36. */
  37. function _setToolbar()
  38. {
  39. JToolBarHelper::title(JText::_('JX Exchange: Migrate'), 'logo');
  40. JToolBarHelper::custom('migrate', 'forward.png', 'forward.png', 'JX Toolbar Migrate', false);
  41. JToolBarHelper::help('index', 'true');
  42. }
  43. }