API17:JURI::getInstance
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JURI::getInstance
Description
Returns the global object, only creating it if it doesn't already exist.
Description:JURI::getInstance [Edit Descripton]
Since
Synopsis
public static JURI::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 in
libraries/joomla/environment/uri.php
Referenced by
See also
Examples
<CodeExamplesForm />
