[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_cpanel/views/cpanel/ -> view.html.php (source)

   1  <?php
   2  /**
   3   * @package        Joomla.Administrator
   4   * @subpackage    com_cpanel
   5   * @copyright    Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
   6   * @license        GNU General Public License version 2 or later; see LICENSE.txt
   7   */
   8  
   9  // Check to ensure this file is included in Joomla!
  10  defined('_JEXEC') or die;
  11  
  12  jimport('joomla.application.component.view');
  13  jimport('joomla.application.module.helper');
  14  
  15  /**
  16   * HTML View class for the Cpanel component
  17   *
  18   * @static
  19   * @package        Joomla.Administrator
  20   * @subpackage    com_cpanel
  21   * @since 1.0
  22   */
  23  class CpanelViewCpanel extends JView
  24  {
  25      protected $modules = null;
  26  
  27  	public function display($tpl = null)
  28      {
  29          // Set toolbar items for the page
  30          JToolBarHelper::title(JText::_('COM_CPANEL'), 'cpanel.png');
  31          JToolBarHelper::help('screen.cpanel');
  32  
  33          /*
  34           * Set the template - this will display cpanel.php
  35           * from the selected admin template.
  36           */
  37          JRequest::setVar('tmpl', 'cpanel');
  38  
  39          // Display the cpanel modules
  40          $this->modules = JModuleHelper::getModules('cpanel');
  41  
  42          parent::display($tpl);
  43      }
  44  }


Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1