Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
preprocess (&$query) | |
parse (&$segments, &$vars) | |
build (&$query, &$segments) | |
RouterRules interface for Joomla
build | ( | & | $query, |
& | $segments | ||
) |
Builds URI segments from a query to encode the necessary information for a route in a human-readable URL. This method should retrieve all its input from its method arguments.
array | &$query | The vars that should be converted |
array | &$segments | The URL segments to create |
Implémenté dans MenuRules, StandardRules, et NomenuRules.
parse | ( | & | $segments, |
& | $vars | ||
) |
Parses a URI to retrieve information for the right route through the component. This method should retrieve all its input from its method arguments.
array | &$segments | The URL segments to parse |
array | &$vars | The vars that result from the segments |
Implémenté dans MenuRules, NomenuRules, et StandardRules.
preprocess | ( | & | $query | ) |
Prepares a query set to be handed over to the build() method. This should complete a partial query set to work as a complete non-SEFed URL and in general make sure that all information is present and properly formatted. For example, the Itemid should be retrieved and set here.
array | &$query | The query array to process |
Implémenté dans MenuRules, NomenuRules, et StandardRules.