CoreFiles by mySites.guru
HtmlView.php48 lines, 1,176 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
41b85fb44d5dbfac5d7053a1dd2f1653
sha1
2c278ec898c2f1da487c64afa9dcb62c5b6dfc62
sha256
0db395280c1e62b644589451a095d6c496c50be387062f8b82dc3790a6fe852d
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_cpanel
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
namespace Joomla\Component\Cpanel\Administrator\View\Cpanel;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;

defined('_JEXEC') or die;

/**
 * HTML View class for the Cpanel component
 *
 * @since  1.0
 */
class HtmlView extends BaseHtmlView
{
	/**
	 * Array of cpanel modules
	 *
	 * @var  array
	 */
	protected $modules = null;

	/**
	 * Execute and display a template script.
	 *
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
	 *
	 * @return  mixed  A string if successful, otherwise an Error object.
	 */
	public function display($tpl = null)
	{
		// Set toolbar items for the page
		\JToolbarHelper::title(\JText::_('COM_CPANEL'), 'home-2 cpanel');
		\JToolbarHelper::help('screen.cpanel');

		// Display the cpanel modules
		$this->modules = ModuleHelper::getModules('cpanel');

		parent::display($tpl);
	}
}

No other release has this exact content. See every version of this file.