![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de RouterInterface: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, et RouterLegacy.
| 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, et RouterLegacy.
| 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.