Source for file view.html.php

Documentation is available at view.html.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_admin
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * HTML View class for the Admin component
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_admin
  17.  * @since       1.6
  18.  */
  19. class AdminViewHelp extends JViewLegacy
  20. {
  21.     /**
  22.      * @var string the search string
  23.      */
  24.     protected $help_search = null;
  25.  
  26.     /**
  27.      * @var string the page to be viewed
  28.      */
  29.     protected $page = null;
  30.  
  31.     /**
  32.      * @var string the iso language tag
  33.      */
  34.     protected $lang_tag = null;
  35.  
  36.     /**
  37.      * @var array Table of contents
  38.      */
  39.     protected $toc = null;
  40.  
  41.     /**
  42.      * @var string url for the latest version check
  43.      */
  44.     protected $latest_version_check = 'http://www.joomla.org/download.html';
  45.  
  46.     /**
  47.      * @var string url for the start here link.
  48.      */
  49.     protected $start_here = null;
  50.  
  51.     /**
  52.      * Display the view
  53.      */
  54.     public function display($tpl null)
  55.     {
  56.         $this->help_search            = $this->get('HelpSearch');
  57.         $this->page                    = $this->get('Page');
  58.         $this->toc                    = $this->get('Toc');
  59.         $this->lang_tag                = $this->get('LangTag');
  60.         $this->latest_version_check    = $this->get('LatestVersionCheck');
  61.  
  62.         $this->addToolbar();
  63.         parent::display($tpl);
  64.     }
  65.     /**
  66.      * Setup the Toolbar
  67.      *
  68.      * @since   1.6
  69.      */
  70.     protected function addToolbar()
  71.     {
  72.         JToolbarHelper::title(JText::_('COM_ADMIN_HELP')'support help_header');
  73.     }
  74. }

Documentation generated on Tue, 19 Nov 2013 15:17:35 +0100 by phpDocumentor 1.4.3