the-art-of-joomla-archive /exchange/code/trunk/administrator/components/com_exchange/views/export/view.php

Language PHP Lines 50
MD5 Hash 8b6a519e9582d98eeacba435b7f3bc64 Estimated Cost $468 (why?)
Repository https://bitbucket.org/eddieajau/the-art-of-joomla-archive View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?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 ExchangeViewExport extends JView
{
	/**
	 * Display the view
	 *
	 * @access	public
	 */
	function display($tpl=null)
	{
		$state		= $this->get('State');
		$tables		= $this->get('Tables');
		$adapters	= $this->get('Adapters');

		$this->assignRef('tables',		$tables);
		$this->assignRef('adapters',	$adapters);
		$this->assignRef('state',		$state);

		$this->_setToolbar();
		parent::display($tpl);
	}

	/**
	 * Display the toolbar
	 * @access	public
	 */
	function _setToolbar()
	{
		JToolBarHelper::title(JText::_('JX Exchange: Export'), 'logo');
		JToolBarHelper::custom('export', 'forward.png','forward.png', 'JX Toolbar Export', true);
		JToolBarHelper::help('index', 'true');
	}
}
Back to Top