| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Environment |
JURI |
getInstance |
getInstance() |
Never | Work in Progress |
Returns a reference to a global JURI object, only creating it if it doesn’t already exist. This method must be invoked as:
$uri =& JURI::getInstance();
JURI &getInstance ( $uri )
| $uri | string | is a string containing the URI to parse. This parameter is optional and if omitted uses the URI of the script. |
Example
$uri =& JURI::getInstance();