Difference between revisions of "JURI::root"
From Joomla! Documentation
(Layout updates) |
m (→User contributed notes: re-categorisation) |
||
(One intermediate revision by one other 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> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function root ( |
+ | $pathonly=false | ||
+ | $path=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string The root URI string. | |
− | string The root URI string. | + | * '''Defined''' on line 234 of libraries/joomla/environment/uri.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/environment/uri.php | + | * '''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> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 54: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category:JURI | + | <noinclude>[[Category:JURI]]</noinclude> |
Revision as of 13:01, 9 August 2012
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.
JURI::root[edit]
Description[edit]
Returns the root URI for the request.
Template: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
- Referenced by
See also[edit]
- JURI::root source code on BitBucket
- Class JURI
- Subpackage Environment
- Other versions of JURI::root
Template:SeeAlso:JURI::root [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />