CoreFiles by mySites.guru
HtmlView.php74 lines, 1,548 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
5372600776837ac974e0621fbba1bda5
sha1
ae2ba943aa1c4be1516a26a36e020079cfa561cc
sha256
a079e2db5d856b448be22dc4cf9af32637bac010b4827b76dd3fa29a150afe9a
<?php
/**
 * @package     Joomla.Installation
 * @subpackage  View
 *
 * @copyright   Copyright (C) 2005 - 2018 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 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.