API17

Difference between revisions of "JURI::getInstance"

From Joomla! Documentation

m (moving preparation)
m (clean up)
Line 4: Line 4:
 
Returns the global  object, only creating it if it doesn't already exist.  
 
Returns the global  object, only creating it if it doesn't already exist.  
  
{{Description:JURI::getInstance}}
+
{{subst:Description:JURI::getInstance}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JURI::getInstance|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function getInstance ($uri= 'SERVER')
 
public static function getInstance ($uri= 'SERVER')
Line 37: Line 35:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
 
* [[API17:JURI::getInstance|Other versions of JURI::getInstance]]
 
* [[API17:JURI::getInstance|Other versions of JURI::getInstance]]
{{SeeAlso:JURI::getInstance}}
+
{{subst:SeeAlso:JURI::getInstance}}
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JURI::getInstance|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />

Revision as of 11:19, 24 March 2017

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.

Joomla 11.1 JURI::getInstance[edit]

Description[edit]

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

{{subst:Description:JURI::getInstance}}

public static function getInstance ($uri= 'SERVER')
Parameter Type Default Description
$uri string 'SERVER' The URI to parse. [optional: if null uses script URI]

See also[edit]

{{subst:SeeAlso:JURI::getInstance}}

User contributed notes[edit]

<CodeExamplesForm />