JRouter
Description
Class to create and parse routes
Located in /joomla/application/router.php (line 97)
JObject (Subpackage Base) JRouter (Subpackage Application)
Variable Summary
integer
$_mode
Method Summary
Variables
integer
$_mode
= null (line 105)
The rewrite mode
Methods
Constructor __construct (line 112)
Class constructor
JRouter
__construct
([ $options = array()])
- $options
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
build (line 203)
Function to convert an internal URI to a route
string
build
( $value, string $string)
- string $string: The internal URL
- $value
getInstance (line 132)
Returns a reference to the global Router object, only creating it if it doesn't already exist.
This method must be invoked as:
$router = &JRouter::getInstance();
- $options
_buildApplicationRoute (line 368)
Build the application specific route
void
_buildApplicationRoute
( &$query)
- &$query
_buildComponentRoute (line 392)
Build the component specific route
void
_buildComponentRoute
( &$query)
- &$query
_parseApplicationRoute (line 294)
Parse a application specific route
void
_parseApplicationRoute
( &$url)
- &$url
_parseComponentRoute (line 335)
Parse a component specific route
void
_parseComponentRoute
( $url)
- $url
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:20:24 +0000 by phpDocumentor 1.3.1