CoreFiles by mySites.guru
DefaultView.php47 lines, 963 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
475cd6eb474f0c4d674227901f37facc
sha1
950eddfbc102c12dabfb40c08e2c3286fb0e1558
sha256
a96ae223aed617d2ead3063b2b4f8d85285bbb717216e4ed1e32a074a5133d60
<?php
/**
 * @package     Joomla.Installation
 * @subpackage  View
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Installation\View;

defined('_JEXEC') or die;

use Joomla\CMS\Form\Form;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;

/**
 * Generic Installation View
 *
 * @since  3.1
 */
class DefaultView extends BaseHtmlView
{
	/**
	 * The Form object
	 *
	 * @var    Form
	 * @since  3.1
	 */
	protected $form;

	/**
	 * 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->form = $this->get('Form');

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

No other release has this exact content. See every version of this file.