[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/installation/src/View/Preinstall/ -> HtmlView.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Installation
   5   * @subpackage  View
   6   *
   7   * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  namespace Joomla\CMS\Installation\View\Preinstall;
  12  
  13  use Joomla\CMS\Installation\View\DefaultView;
  14  
  15  // phpcs:disable PSR1.Files.SideEffects
  16  \defined('_JEXEC') or die;
  17  // phpcs:enable PSR1.Files.SideEffects
  18  
  19  /**
  20   * The HTML Joomla Core Install Preinstall View
  21   *
  22   * @since  3.1
  23   */
  24  class HtmlView extends DefaultView
  25  {
  26      /**
  27       * Array of PHP config options.
  28       *
  29       * @var    array
  30       * @since  3.1
  31       */
  32      protected $options;
  33  
  34      /**
  35       * The default model
  36       *
  37       * @var    string
  38       * @since  3.0
  39       */
  40      protected $_defaultModel = 'checks';
  41  
  42      /**
  43       * Execute and display a template script.
  44       *
  45       * @param   string|null  $tpl  The name of the template file to parse; automatically searches through the template paths.
  46       *
  47       * @return  void
  48       *
  49       * @since   4.0.0
  50       */
  51      public function display($tpl = null)
  52      {
  53          $this->options = $this->get('PhpOptions');
  54  
  55          parent::display($tpl);
  56      }
  57  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer