CoreFiles by mySites.guru
HtmlView.php91 lines, 2,131 bytes, from Joomla_4.4.6-Stable-Full_Package.zip
Raw History Compare with 4.4.5
md5
6e66c51d5be7eae92c55f4504333f1f8
sha1
28bb8000700d0117f594f1814d9c34ca4504f224
sha256
9ac7e67fa20b7d8efb20e188b7b6272a5fade394c9be79b93cb40994d427e578
<?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\Remove;

use Joomla\CMS\Installation\View\DefaultView;
use Joomla\CMS\Version;

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

/**
 * The HTML Joomla Core Install Remove View
 *
 * @since  3.1
 */
class HtmlView extends DefaultView
{
    /**
     * Is the Joomla Version a development version?
     *
     * @var    boolean
     * @since  4.0.0
     */
    protected $development;

    /**
     * List of language choices to install
     *
     * @var    array
     * @since  4.0.0
     */
    protected $items;

    /**
     * Full list of recommended PHP Settings
     *
     * @var    array
     * @since  4.0.0
     */
    protected $phpsettings;

    /**
     * Array of PHP config options
     *
     * @var    array
     * @since  4.0.0
     */
    protected $phpoptions;

    /**
     * Array of PHP config options
     *
     * @var    \stdClass
     * @since  4.0.0
     */
    protected $installed_languages;

    /**
     * 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)
    {
        $this->development = (new Version())->isInDevelopmentState();

        $this->items = $this->get('Items', 'Languages');

        $this->installed_languages                = new \stdClass();
        $this->installed_languages->administrator = $this->get('InstalledlangsAdministrator', 'Languages');
        $this->installed_languages->frontend      = $this->get('InstalledlangsFrontend', 'Languages');

        $this->phpoptions  = $this->get('PhpOptions', 'Checks');
        $this->phpsettings = $this->get('PhpSettings', 'Checks');

        parent::display($tpl);
    }
}

The same content is in 111 releases, Joomla 4.3.0-beta1 to 5.2.6. See them all, or every version of this file.