JURI::getInstance/1.5
From Joomla! Documentation
< JURI::getInstance(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: re-categorisation) |
||
| (One intermediate revision by one user not shown) | |||
| Line 4: | Line 4: | ||
Returns a reference to a global object, only creating it if it doesn't already exist. | Returns a reference to a global object, only creating it if it doesn't already exist. | ||
| + | {{Description:JURI::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
| − | <nowiki>[</nowiki>[[Description:JURI | + | <nowiki>[</nowiki>[[Description:JURI::getInstance|Edit Descripton]]<nowiki>]</nowiki> |
</span> | </span> | ||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public & | + | public & function getInstance ($uri= 'SERVER') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 25: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 127 of libraries/joomla/environment/uri.php | |
| − | + | * '''Referenced by''' | |
| − | libraries/joomla/environment/uri.php | + | ** [[JRoute::_/1.5|JRoute::_]] |
| − | + | ** [[base/1.5|base]] | |
| − | * [[JRoute | + | ** [[current/1.5|current]] |
| − | * [[base/1.5|base]] | + | ** [[JFactory::getURI/1.5|JFactory::getURI]] |
| − | * [[current/1.5|current]] | + | ** [[isInternal/1.5|isInternal]] |
| − | * [[JFactory | + | ** [[JApplication::redirect/1.5|JApplication::redirect]] |
| − | * [[isInternal/1.5|isInternal]] | + | ** [[root/1.5|root]] |
| − | * [[JApplication | + | ** [[JApplication::route/1.5|JApplication::route]] |
| − | * [[root/1.5|root]] | + | |
| − | * [[JApplication | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|1.5}} '''JURI::getInstance''' on [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#getInstance api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JURI source code''' on [[jframework15:environment/uri.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Class [[JURI/1.5|JURI]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage_Environment/1.5|Environment]] | ||
| + | * [[JURI::getInstance|Other versions of JURI::getInstance]] | ||
| + | {{SeeAlso:JURI::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
| − | <nowiki>[</nowiki>[[SeeAlso:JURI | + | <nowiki>[</nowiki>[[SeeAlso:JURI::getInstance|Edit See Also]]<nowiki>]</nowiki> |
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 51: | Line 51: | ||
category=JURI::getInstance | category=JURI::getInstance | ||
category=CodeExample | category=CodeExample | ||
| − | category= | + | category=MethodExample |
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:JURI | + | <noinclude>[[Category:JURI]]</noinclude> |
Latest revision as of 12:53, 9 August 2012
[edit]
JURI::getInstance
[edit] Description
Returns a reference to a global object, only creating it if it doesn't already exist.
Description:JURI::getInstance [Edit Descripton]
public & function getInstance ($uri= 'SERVER')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $uri | 'SERVER' |
- Returns
- Defined on line 127 of libraries/joomla/environment/uri.php
- Referenced by
[edit] See also
-
JURI::getInstance on api.joomla.org
-
JURI source code on JoomlaCode
-
Class JURI
-
Subpackage Environment
- Other versions of JURI::getInstance
SeeAlso:JURI::getInstance [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />