StandardRules
Implements RulesInterfaceRule for the standard handling of component routing
| since |
3.4 |
|---|---|
| package |
Joomla CMS |
Methods
__construct
Class constructor.
__construct(\Joomla\CMS\Component\Router\RouterView router) :
build
Build a standard URL
build(mixed||string|int &query, mixed||string|int &segments) :
| since |
3.4 |
|---|
Arguments
- query
array<string|int, mixed>The vars that should be converted- segments
array<string|int, mixed>The URL segments to create
Response
void
parse
Parse the URL
parse(mixed||string|int &segments, mixed||string|int &vars) :
| since |
3.4 |
|---|
Arguments
- segments
array<string|int, mixed>The URL segments to parse- vars
array<string|int, mixed>The vars that result from the segments
Response
void
preprocess
Dummy method to fulfil the interface requirements
preprocess(mixed||string|int &query) :
| since |
3.4 |
|---|
Arguments
- query
array<string|int, mixed>The query array to process
Response
void