CoreFiles by mySites.guru
DefaultView.php47 lines, 891 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
a377d8e48194e72d9c0744263ba1445f
sha1
97c58021036c8e25c2e5c88dd7cede8033b483e3
sha256
916f32aedf21479f61050e36061222af2b9c191c275c235ed1ddbf4765ccea8b
<?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;

\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  void
	 *
	 * @since   4.0.0
	 */
	public function display($tpl = null)
	{
		$this->form = $this->get('Form');

		parent::display($tpl);
	}
}

The same content is in 46 releases, Joomla 4.0.0-rc4 to 4.2.0-beta2. See them all, or every version of this file.