- md5
- d2c091b782f7a92bc19a383f7a3246cf
- sha1
- d4237584d2483fb04d16364f7e51d6d20c386889
- sha256
- fbab2642930c5d56ff352738f7907fbed5b06ca72d7ba87d8589b87287cc7d18
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
<?php
/**
* @version $Id: view.html.php 22338 2011-11-04 17:24:53Z github_bot $
* @copyright Copyright (C) 2005 - 2011 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 3 releases, Joomla 1.7.3 to 1.7.5. See them all, or every version of this file.