API17:JURI::getInstance
From Joomla! Documentation
JURI::getInstance
Description
Returns the global object, only creating it if it doesn't already exist.
public static function getInstance ($uri= 'SERVER')
Parameter | Type | Default | Description |
---|---|---|---|
$uri | string | 'SERVER' | The URI to parse. [optional: if null uses script URI] |
- Returns The URI object.
- Defined on line 110 of libraries/joomla/environment/uri.php
- Since
- Referenced by
See also
JURI::getInstance source code on BitBucket
Class JURI
Subpackage Environment
- Other versions of JURI::getInstance
User contributed notes
Code Examples