API17:JURI::root
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 35: | Line 35: | ||
string The root URI string. | string The root URI string. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/environment/uri.php | + | libraries/joomla/environment/uri.php (line 234) |
| + | * see source code in [[jplatform:environment/uri.php#cl-234|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
| − | * [[JHtmlBehavior | + | * [[JHtmlBehavior::uploader/11.1|JHtmlBehavior::uploader]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 21:28, 23 April 2011
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.
JURI::root
Description
Returns the root URI for the request.
Description:JURI::root [Edit Descripton]
Since
Synopsis
public static JURI::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 in
libraries/joomla/environment/uri.php (line 234)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
