Actions

API17

Difference between revisions of "JURI::getInstance"

From Joomla! Documentation

(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/_/11.1|JRoute::_]]
+
* [[JRoute::_/11.1|JRoute::_]]
* [[JFactory/getURI/11.1|JFactory::getURI]]
+
* [[JFactory::getURI/11.1|JFactory::getURI]]
* [[JApplication/redirect/11.1|JApplication::redirect]]
+
* [[JApplication::redirect/11.1|JApplication::redirect]]
* [[JApplication/route/11.1|JApplication::route]]
+
* [[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

Replacement filing cabinet.png
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.

Joomla 11.1 JURI::getInstance

Description

Returns the global object, only creating it if it doesn't already exist.

Description:JURI::getInstance [Edit Descripton]

Since

Joomla 11.1

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)

Referenced by

See also

[Edit See Also]

SeeAlso:JURI::getInstance

Examples

<CodeExamplesForm />