/
githubmirror
/
joomla-cms
Обзор
Документация
Войти
/
githubmirror
/
joomla-cms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
5.4-dev
installation/src/View/Preinstall/HtmlView.php
60 строк
1 KB
Hannes Papenberg
Codestyle
30 сен 2024, 16:43
Не верифицирован
30 сен 2024, 16:43
fa65b26
Код
Авторство
О чём код?
<?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\Preinstall; use Joomla\CMS\Installation\Model\ChecksModel; use Joomla\CMS\Installation\View\DefaultView; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * The HTML Joomla Core Install Preinstall View * * @since 3.1 */ class HtmlView extends DefaultView { /** * Array of PHP config options. * * @var array * @since 3.1 */ protected $options; /** * The default model * * @var string * @since 3.0 */ protected $_defaultModel = 'checks'; /** * 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) { /** @var ChecksModel $model */ $model = $this->getModel(); $this->options = $model->getPhpOptions(); parent::display($tpl); } }