[ 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_finder 6 * 7 * @copyright (C) 2011 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\Finder\Site\Service; 12 13 use Joomla\CMS\Application\SiteApplication; 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_finder 27 * 28 * @since 3.3 29 */ 30 class Router extends RouterView 31 { 32 /** 33 * Finder Component router constructor 34 * 35 * @param SiteApplication $app The application object 36 * @param AbstractMenu $menu The menu object to work with 37 */ 38 public function __construct(SiteApplication $app, AbstractMenu $menu) 39 { 40 $search = new RouterViewConfiguration('search'); 41 $this->registerView($search); 42 43 parent::__construct($app, $menu); 44 45 $this->attachRule(new MenuRules($this)); 46 $this->attachRule(new StandardRules($this)); 47 $this->attachRule(new NomenuRules($this)); 48 } 49 }
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 |