CoreFiles by mySites.guru
HtmlView.php46 lines, 1,095 bytes, from Joomla_6.0.0-Stable-Full_Package.zip
Raw History Compare with 5.4.10
md5
2efc68146a38ed4125f9c17d39529fe7
sha1
f3674971402bf64370a46bbfdd2aafcd161c784d
sha256
acc974a6d60f4663d964b3d8fbfd8b0d0bad17107206d36d6b34aa1e083b4ee7
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_joomlaupdate
 *
 * @copyright   (C) 2012 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Joomlaupdate\Administrator\View\Update;

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Toolbar\ToolbarHelper;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Joomla! Update's Update View
 *
 * @since  2.5.4
 */
class HtmlView extends BaseHtmlView
{
    /**
     * Renders the view.
     *
     * @param   string  $tpl  Template name.
     *
     * @return  void
     */
    public function display($tpl = null)
    {
        Factory::getApplication()->getInput()->set('hidemainmenu', true);

        // Set the toolbar information.
        ToolbarHelper::title(Text::_('COM_JOOMLAUPDATE_OVERVIEW'), 'sync install');

        // Render the view.
        parent::display($tpl);
    }
}

The same content is in 211 releases, Joomla 4.3.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.