/exchange/code/trunk/administrator/components/com_exchange/views/output/view.php
PHP | 54 lines | 22 code | 6 blank | 26 comment | 0 complexity | 5560a3a835231c25452725b38faa4daf MD5 | raw file
- <?php
- /**
- * @version $Id: view.php 280 2010-09-18 02:14:15Z eddieajau $
- * @package NewLifeInIT
- * @subpackage com_exchange
- * @copyright Copyright 2005 - 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 jXExchange
- */
- class ExchangeViewOutput extends JView
- {
- /**
- * Display the view
- *
- * @access public
- */
- function display($tpl=null)
- {
- $state = $this->get('State');
- $buffer = $state->get('buffer');
- $vars = $state->get('vars');
- $this->assignRef('buffer', $buffer);
- //if ($vars) {
- // $this->assignRef('vars', $vars);
- // $this->assign('showHeader', true);
- //} else {
- $this->assign('showHeader', false);
- //}
- $this->_setToolbar();
- parent::display($tpl);
- }
- /**
- * Display the toolbar
- * @access public
- */
- function _setToolbar()
- {
- JToolBarHelper::title(JText::_('JX Exchange: Export Result'), 'logo');
- JToolBarHelper::back();
- JToolBarHelper::help('index', 'true');
- }
- }