API17:JURI::getInstance
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 30: | Line 30: | ||
The URI object. | The URI object. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/environment/uri.php | + | libraries/joomla/environment/uri.php (line 110) |
| + | * see source code in [[jplatform:environment/uri.php#cl-110|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
| − | * [[JRoute | + | * [[JRoute::_/11.1|JRoute::_]] |
| − | * [[JFactory | + | * [[JFactory::getURI/11.1|JFactory::getURI]] |
| − | * [[JApplication | + | * [[JApplication::redirect/11.1|JApplication::redirect]] |
| − | * [[JApplication | + | * [[JApplication::route/11.1|JApplication::route]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 21:27, 23 April 2011
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 (line 110)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
