Actions

API17

Difference between revisions of "JURI::base"

From Joomla! Documentation

(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>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JURI::base ($pathonly=false)
+
public static function base ($pathonly=false)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The base URI string
string The base URI string
+
* '''Defined''' on line 182 of libraries/joomla/environment/uri.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/environment/uri.php (line 182)
+
* '''Referenced by'''
* see source code in [[jplatform:environment/uri.php#cl-182|BitBucket]]
+
** [[JView::__construct/11.1|JView::__construct]]
===Referenced by===
+
** [[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>
* [[JURI/11.1|JURI]]
+
===User contributed notes===
* [[JURI::base|Other versions of this method]]
+
{{SeeAlso:JURI::base}}
+
===Examples===
+
 
<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 20:51, 27 April 2011

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

See also

SeeAlso:JURI::base [Edit See Also]

User contributed notes

<CodeExamplesForm />