- md5
- f10740d7714d95425eee2938e915e707
- sha1
- d7657067507bcaad4979c94a4113bd8fe0ccd67c
- sha256
- 1a8b8dc1438130f1d25f97a2eee0e1be9e3aa2d062f57081df563e526f8004b8
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
<?php
/**
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* HTML View class for the Admin component
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
*/
class AdminViewHelp extends JView
{
/**
* @var string the search string
*/
protected $help_search=null;
/**
* @var string the page to be viewed
*/
protected $page=null;
/**
* @var string the iso language tag
*/
protected $lang_tag=null;
/**
* @var array Table of contents
*/
protected $toc=null;
/**
* @var string url for the latest version check
*/
protected $latest_version_check= 'http://www.joomla.org/download.html';
/**
* @var string url for the start here link.
*/
protected $start_here = null;
/**
* Display the view
*/
function display($tpl = null)
{
// Initialise variables.
$this->help_search = $this->get('HelpSearch');
$this->page = $this->get('Page');
$this->toc = $this->get('Toc');
$this->lang_tag = $this->get('LangTag');
$this->latest_version_check = $this->get('LatestVersionCheck');
$this->addToolbar();
parent::display($tpl);
}
/**
* Setup the Toolbar
*
* @since 1.6
*/
protected function addToolbar()
{
JToolBarHelper::title(JText::_('COM_ADMIN_HELP'), 'help_header.png');
}
}
The same content is in 7 releases, Joomla 2.5.0 to 2.5.6. See them all, or every version of this file.