| API | Package | Subpackage | Class | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JRouter |
JRouter |
Never | Work in Progress |
Class to create and parse routes
| Method | Description |
|---|---|
__construct | Class constructor |
build | Function to convert an internal URI to a route |
getInstance | Returns a reference to the global Router object, only creating it if it doesn’t already exist.<p>This method must be invoked as: <pre> $router = &JRouter::getInstance();</pre></p> |
parse | Route a request |
_buildApplicationRoute | Build the application specific route |
_buildComponentRoute | Build the component specific route |
_decodeSegments | |
_encodeSegments | |
_parseApplicationRoute | Parse a application specific route |
_parseComponentRoute | Parse a component specific route |