CoreFiles by mySites.guru
DefaultView.php50 lines, 1,040 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
788af13cd041a0a1f7f9d0ccd2d7e4ad
sha1
64efeffdd46db1fb624b74276720a726d7b69e57
sha256
718ba2570b0938d28d1d6b707c21c9efb82286d521de904ff1922578e02ef1dd
<?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;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * 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 128 releases, Joomla 4.2.1 to 5.2.6. See them all, or every version of this file.