Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
preprocess ($query) | |
build (&$query) | |
parse (&$segments) | |
Component routing interface
build | ( | & | $query | ) |
Build method for URLs This method is meant to transform the query parameters into a more human readable form. It is only executed when SEF mode is switched on.
array | &$query | An array of URL arguments |
Implémenté dans RouterView, Router, RouterLegacy, Router, et Router.
parse | ( | & | $segments | ) |
Parse method for URLs This method is meant to transform the human readable URL back into query parameters. It is only executed when SEF mode is switched on.
array | &$segments | The segments of the URL to parse. |
Implémenté dans RouterView, Router, RouterLegacy, Router, et Router.
preprocess | ( | $query | ) |
Prepare-method for URLs This method is meant to validate and complete the URL parameters. For example it can add the Itemid or set a language parameter. This method is executed on each URL, regardless of SEF mode switched on or not.
array | $query | An associative array of URL arguments |
Implémenté dans RouterView, RouterBase, et RouterLegacy.