[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Site 5 * @subpackage com_privacy 6 * 7 * @copyright (C) 2019 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\Privacy\Site\Service; 12 13 use Joomla\CMS\Application\CMSApplication; 14 use Joomla\CMS\Component\Router\RouterView; 15 use Joomla\CMS\Component\Router\RouterViewConfiguration; 16 use Joomla\CMS\Component\Router\Rules\MenuRules; 17 use Joomla\CMS\Component\Router\Rules\NomenuRules; 18 use Joomla\CMS\Component\Router\Rules\StandardRules; 19 use Joomla\CMS\Menu\AbstractMenu; 20 21 // phpcs:disable PSR1.Files.SideEffects 22 \defined('_JEXEC') or die; 23 // phpcs:enable PSR1.Files.SideEffects 24 25 /** 26 * Routing class from com_privacy 27 * 28 * @since 3.9.0 29 */ 30 class Router extends RouterView 31 { 32 /** 33 * Privacy Component router constructor 34 * 35 * @param CMSApplication $app The application object 36 * @param AbstractMenu $menu The menu object to work with 37 * 38 * @since 3.9.0 39 */ 40 public function __construct($app = null, $menu = null) 41 { 42 $this->registerView(new RouterViewConfiguration('confirm')); 43 $this->registerView(new RouterViewConfiguration('request')); 44 $this->registerView(new RouterViewConfiguration('remind')); 45 46 parent::__construct($app, $menu); 47 48 $this->attachRule(new MenuRules($this)); 49 $this->attachRule(new StandardRules($this)); 50 $this->attachRule(new NomenuRules($this)); 51 } 52 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |