CoreFiles by mySites.guru
DefaultView.php46 lines, 933 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
5ade73b0a5557b5042b7f7aaaab4999b
sha1
b7c12782500029afe72eb85656de03bc9c471c42
sha256
94194c6d05528fc4155a248e6d9c068bf5047256eeb2584eaafba00eb2da2a18
<?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;

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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.