JURI::getInstance
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JURI::getInstance[edit]
Description[edit]
Returns the global object, only creating it if it doesn't already exist.
Template:Description:JURI::getInstance [Edit Descripton]
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[edit]
- JURI::getInstance source code on BitBucket
- Class JURI
- Subpackage Environment
- Other versions of JURI::getInstance
Template:SeeAlso:JURI::getInstance [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />