Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
registerView (RouterViewConfiguration $view) | |
getViews () | |
getPath ($query) | |
getRules () | |
attachRules ($rules) | |
attachRule (RulesInterface $rule) | |
detachRule (RulesInterface $rule) | |
preprocess ($query) | |
build (&$query) | |
parse (&$segments) | |
getName () | |
Fonctions membres publiques hérités de RouterBase | |
__construct ($app=null, $menu=null) | |
preprocess ($query) | |
Attributs protégés | |
$name | |
$rules = array() | |
$views = array() | |
Membres hérités additionnels | |
Champs de données hérités de RouterBase | |
$app | |
$menu | |
View-based component routing class
attachRule | ( | RulesInterface | $rule | ) |
Attach a build rule
RulesInterface | $rule | The function to be called. |
attachRules | ( | $rules | ) |
Add a number of router rules to the object
RulesInterface[] | $rules Array of JComponentRouterRulesInterface objects |
build | ( | & | $query | ) |
Build method for URLs
array | &$query | Array of query elements |
Implémente RouterInterface.
Références $query.
detachRule | ( | RulesInterface | $rule | ) |
getName | ( | ) |
getPath | ( | $query | ) |
getRules | ( | ) |
Get all currently attached rules
getViews | ( | ) |
Return an array of registered view objects
parse | ( | & | $segments | ) |
Parse method for URLs
array | &$segments | Array of URL string-segments |
Implémente RouterInterface.
preprocess | ( | $query | ) |
Generic method to preprocess a URL
array | $query | An associative array of URL arguments |
Implémente RouterInterface.
Références $query.
registerView | ( | RouterViewConfiguration | $view | ) |
Register the views of a component
RouterViewConfiguration | $view | View configuration object |
Références $view.
|
protected |
|
protected |
|
protected |