- md5
- 9f507fdab839069cba8fa62db2d7a920
- sha1
- 5f6715877638cc40c51f2ecb7fe2be251a9f6474
- sha256
- 89443f3c7ee094b7f8100ea822a568f8720d425f01a098bf6ae3c543268264df
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
<?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;
\defined('_JEXEC') or die;
use Joomla\CMS\Installation\View\DefaultView;
use Joomla\CMS\Version;
/**
* 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 mixed A string if successful, otherwise an Error object.
*
* @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');
return parent::display($tpl);
}
}
The same content is in 5 releases, Joomla 4.0.0-beta6 to 4.0.0-rc3. See them all, or every version of this file.