JFactory/getURI
From Joomla! Documentation
< API16:JFactoryRevision as of 17:47, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Return a reference to the JURI object
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</n...)
Revision as of 17:47, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Return a reference to the JURI object
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</n...)
The "API16" 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.
Description[edit]
Return a reference to the JURI object
Template:Description:JFactory/getURI
Syntax[edit]
static getURI($uri= 'SERVER')
Parameter Name | Default Value | Description |
---|---|---|
$uri | 'SERVER' |
Returns[edit]
object
Defined in[edit]
libraries/joomla/factory.php
Importing[edit]
jimport( 'joomla.factory' );
Source Body[edit]
public static function getURI($uri = 'SERVER')
{
jimport('joomla.environment.uri');
return JURI::getInstance($uri);
}
[Edit See Also] Template:SeeAlso:JFactory/getURI
Examples[edit]
<CodeExamplesForm />