Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (RouterView $router) | |
preprocess (&$query) | |
parse (&$segments, &$vars) | |
build (&$query, &$segments) | |
Fonctions membres protégées | |
buildLookup ($language=' *') | |
Attributs protégés | |
$router | |
$lookup = array() | |
Rule to identify the right Itemid for a view in a component
__construct | ( | RouterView | $router | ) |
build | ( | & | $query, |
& | $segments | ||
) |
Dummy method to fulfil the interface requirements
array | &$query | The vars that should be converted |
array | &$segments | The URL segments to create |
Implémente RulesInterface.
|
protected |
Method to build the lookup array
string | $language | The language that the lookup should be built up for |
Here it will become a bit tricky language != * can override existing entries language == * cannot override existing entries
Here it will become a bit tricky language != * can override existing entries language == * cannot override existing entries
Références $attributes, $component, $item, $items, $language, $layout, $view, et ComponentHelper\getComponent().
parse | ( | & | $segments, |
& | $vars | ||
) |
Dummy method to fulfil the interface requirements
array | &$segments | The URL segments to parse |
array | &$vars | The vars that result from the segments |
Implémente RulesInterface.
preprocess | ( | & | $query | ) |
Finds the right Itemid for this query
array | &$query | The query array to process |
If the active item id is not the same as the supplied item id or we have a supplied item id and no active menu item then we just use the supplied menu item and continue
Implémente RulesInterface.
Références $active, $default, $id, $language, $layout, $query, $this, $view, Multilanguage\isEnabled(), et null.
|
protected |
|
protected |