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
stringComponent 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
arrayAn array of URL arguments
Response
arrayThe 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
arrayThe segments of the URL to parse.
Response
arrayThe 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
arrayAn associative array of URL arguments
Response
arrayThe URL arguments to use to assemble the subsequent URL.
Properties
component
Name of the component
| since |
3.3 |
|---|
Type(s)
string