CoreFiles by mySites.guru
HtmlView.php74 lines, 1,548 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
afd8efb14f252a3ad60112db8ba5c8cf
sha1
0771a7c22e30600342f1063f0f595b0089e480c4
sha256
201f52ec0c78c7a968f9f499db9065a595248e0493a9cd0267f873f044f6ff1c
<?php
/**
 * @package     Joomla.Installation
 * @subpackage  View
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @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;

	/**
	 * 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.
	 *
	 * @since   4.0.0
	 */
	public function display($tpl = null)
	{
		$this->development = (new Version)->isInDevelopmentState();
		$this->items       = $this->get('Items', 'Languages');
		$this->phpoptions  = $this->get('PhpOptions', 'Checks');
		$this->phpsettings = $this->get('PhpSettings', 'Checks');

		return parent::display($tpl);
	}
}

The same content is in 6 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha12. See them all, or every version of this file.