API17:JURI::base
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JURI::base|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JURI::base|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function base ($pathonly=false) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string The base URI string | |
| − | string The base URI string | + | * '''Defined''' on line 182 of libraries/joomla/environment/uri.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/environment/uri.php | + | * '''Referenced by''' |
| − | * | + | ** [[JView::__construct/11.1|JView::__construct]] |
| − | + | ** [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]] | |
| − | * [[JView::__construct/11.1|JView::__construct]] | + | ** [[JButtonPopup::_getCommand/11.1|JButtonPopup::_getCommand]] |
| − | * [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]] | + | ** [[JDocumentRendererRSS::_relToAbs/11.1|JDocumentRendererRSS::_relToAbs]] |
| − | * [[JButtonPopup::_getCommand/11.1|JButtonPopup::_getCommand]] | + | ** [[JHtmlImage::administrator/11.1|JHtmlImage::administrator]] |
| − | * [[JDocumentRendererRSS::_relToAbs/11.1|JDocumentRendererRSS::_relToAbs]] | + | ** [[JApplication::redirect/11.1|JApplication::redirect]] |
| − | * [[JHtmlImage::administrator/11.1|JHtmlImage::administrator]] | + | ** [[JDocumentError::render/11.1|JDocumentError::render]] |
| − | * [[JApplication::redirect/11.1|JApplication::redirect]] | + | ** [[JHtmlImage::site/11.1|JHtmlImage::site]] |
| − | * [[JDocumentError::render/11.1|JDocumentError::render]] | + | |
| − | * [[JHtmlImage::site/11.1|JHtmlImage::site]] | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JURI::base source code''' on [[jplatform:environment/uri.php#cl-174|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JURI/11.1|JURI]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]] | ||
| + | * [[JURI::base|Other versions of JURI::base]] | ||
| + | {{SeeAlso:JURI::base}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JURI::base|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JURI::base|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 56: | Line 53: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JURI]][[Category:JURI::base]]</noinclude> | <noinclude>[[Category:JURI]][[Category:JURI::base]]</noinclude> | ||
Revision as of 21:51, 27 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::base
Description
Returns the base URI for the request.
Description:JURI::base [Edit Descripton]
public static function base ($pathonly=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pathonly | boolean | false | If false, prepend the scheme, host and port information. Default is false. |
- Returns string The base URI string
- Defined on line 182 of libraries/joomla/environment/uri.php
- Since
- Referenced by
See also
-
JURI::base source code on BitBucket
-
Class JURI
-
Subpackage Environment
- Other versions of JURI::base
SeeAlso:JURI::base [Edit See Also]
User contributed notes
<CodeExamplesForm />
