[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_contenthistory/src/Controller/ -> DisplayController.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  com_contenthistory
   6   *
   7   * @copyright   (C) 2018 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\Component\Contenthistory\Site\Controller;
  12  
  13  use Joomla\CMS\Application\CMSApplication;
  14  use Joomla\CMS\Input\Input;
  15  use Joomla\CMS\MVC\Controller\BaseController;
  16  use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
  17  
  18  // phpcs:disable PSR1.Files.SideEffects
  19  \defined('_JEXEC') or die;
  20  // phpcs:enable PSR1.Files.SideEffects
  21  
  22  /**
  23   * History manager master display controller.
  24   *
  25   * @since  4.0.0
  26   */
  27  class DisplayController extends BaseController
  28  {
  29      /**
  30       * @param   array                     $config   An optional associative array of configuration settings.
  31       * @param   MVCFactoryInterface|null  $factory  The factory.
  32       * @param   CMSApplication|null       $app      The Application for the dispatcher
  33       * @param   ?Input                    $input    The Input object for the request
  34       *
  35       * @since   3.0
  36       */
  37      public function __construct($config = array(), MVCFactoryInterface $factory = null, $app = null, $input = null)
  38      {
  39          $config['base_path'] = JPATH_COMPONENT_ADMINISTRATOR;
  40  
  41          parent::__construct($config, $factory, $app, $input);
  42      }
  43  }


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