Actions

API17

Difference between revisions of "JURI::root"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: re-categorisation)
(2 intermediate revisions by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JURI::root|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JURI::root|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JURI::root ($pathonly=false, $path=null)
+
public static function root (
 +
        $pathonly=false
 +
        $path=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The root URI string.
string The root URI string.
+
* '''Defined''' on line 234 of libraries/joomla/environment/uri.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/environment/uri.php
+
* '''Referenced by'''
===Referenced by===
+
** [[JHtmlBehavior::uploader/11.1|JHtmlBehavior::uploader]]
* [[JHtmlBehavior/uploader/11.1|JHtmlBehavior::uploader]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JURI::root source code''' on [[jplatform:environment/uri.php#cl-226|BitBucket]]
 +
* {{JVer|11.1}} Class [[JURI/11.1|JURI]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JURI::root|Other versions of JURI::root]]
 +
{{SeeAlso:JURI::root}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JURI::root|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JURI::root|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JURI/11.1|JURI]]
+
===User contributed notes===
* [[JURI::root|Other versions of this method]]
+
{{SeeAlso:JURI::root}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 54:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JURI]][[Category:JURI::root]]</noinclude>
+
<noinclude>[[Category:JURI]]</noinclude>

Revision as of 13:01, 9 August 2012

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::root

Description

Returns the root URI for the request.

Description:JURI::root [Edit Descripton]

public static function root (
        $pathonly=false
        $path=null
)
Parameter Type Default Description
$pathonly boolean false If false, prepend the scheme, host and port information. Default is false..
$path null
  • Returns string The root URI string.
  • Defined on line 234 of libraries/joomla/environment/uri.php
  • Since Joomla 11.1
  • Referenced by

See also

SeeAlso:JURI::root [Edit See Also]

User contributed notes

<CodeExamplesForm />