RouterLegacy
Implements RouterInterfaceDefault routing class for missing or legacy component routers
since |
3.3 |
---|---|
package |
Joomla CMS |
Methods
__construct
Constructor
__construct(string component) : mixed
since |
3.3 |
---|
Arguments
- component
string
Component name without the com_ prefix this router should react upon
Response
mixed
build
Generic build function for missing or legacy component router
build(array &query) : array
since |
3.3 |
---|
Arguments
- query
array
An array of URL arguments
Response
array
The URL arguments to use to assemble the subsequent URL.
parse
Generic parse function for missing or legacy component router
parse(array &segments) : array
since |
3.3 |
---|
Arguments
- segments
array
The segments of the URL to parse.
Response
array
The URL attributes to be used by the application.
preprocess
Generic preprocess function for missing or legacy component router
preprocess(array query) : array
since |
3.3 |
---|
Arguments
- query
array
An associative array of URL arguments
Response
array
The URL arguments to use to assemble the subsequent URL.