[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Installation 5 * 6 * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 */ 9 10 namespace Joomla\CMS\Installation\Router; 11 12 use Joomla\CMS\Router\Router; 13 use Joomla\CMS\Uri\Uri; 14 15 // phpcs:disable PSR1.Files.SideEffects 16 \defined('_JEXEC') or die; 17 // phpcs:enable PSR1.Files.SideEffects 18 19 /** 20 * Class to create and parse routes. 21 * 22 * @since 1.5 23 */ 24 class InstallationRouter extends Router 25 { 26 /** 27 * Function to convert a route to an internal URI 28 * 29 * @param Uri $uri The uri. 30 * @param bool $setVars Set the parsed data in the internal 31 * storage for current-request-URLs 32 * 33 * @return boolean 34 * 35 * @since 1.5 36 */ 37 public function parse(&$uri, $setVars = false) 38 { 39 return true; 40 } 41 42 /** 43 * Function to convert an internal URI to a route 44 * 45 * @param string $url The internal URL 46 * 47 * @return string The absolute search engine friendly URL 48 * 49 * @since 1.5 50 */ 51 public function build($url) 52 { 53 $url = str_replace('&', '&', $url); 54 55 return new Uri($url); 56 } 57 }
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 |