NomenuRules
Implements RulesInterfaceRule to process URLs without a menu item
| since |
3.4 |
|---|---|
| package |
Joomla CMS |
Methods
__construct
Class constructor.
__construct(\Joomla\CMS\Component\Router\RouterView router) :
build
Build a menu-less 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 a menu-less 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