CoreFiles by mySites.guru
HtmlView.php60 lines, 1,322 bytes, from Joomla_6.0.2-Stable-Full_Package.zip
Raw History Compare with 6.0.1
md5
143c9febe875b8a36ea0b7411d33f922
sha1
bf7b31ff78e88ea20256bbc0750d75eb284882c2
sha256
e5f25da182421b3e3e216802b939131cc49acaf448314a00b1ea989e52525796
<?php

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

namespace Joomla\CMS\Installation\View\Preinstall;

use Joomla\CMS\Installation\Model\ChecksModel;
use Joomla\CMS\Installation\View\DefaultView;

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

/**
 * The HTML Joomla Core Install Preinstall View
 *
 * @since  3.1
 */
class HtmlView extends DefaultView
{
    /**
     * Array of PHP config options.
     *
     * @var    array
     * @since  3.1
     */
    protected $options;

    /**
     * The default model
     *
     * @var    string
     * @since  3.0
     */
    protected $_defaultModel = 'checks';

    /**
     * Execute and display a template script.
     *
     * @param   string|null  $tpl  The name of the template file to parse; automatically searches through the template paths.
     *
     * @return  void
     *
     * @since   4.0.0
     */
    public function display($tpl = null)
    {
        /** @var ChecksModel $model */
        $model         = $this->getModel();
        $this->options = $model->getPhpOptions();

        parent::display($tpl);
    }
}

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