JDocument/getBase: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Return the base URI of the document.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</... |
No edit summary |
||
| Line 1: | Line 1: | ||
===Description=== | ===Description=== | ||
Return the base URI of the document. | Return the base URI of the document. | ||
Note: To return the base url of the Joomla installation, use $this->baseurl within your template files. | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 18:59, 8 July 2010
Description
Return the base URI of the document.
Note: To return the base url of the Joomla installation, use $this->baseurl within your template files.
Template:Description:JDocument/getBase
Syntax
getBase()
Returns
string public
Defined in
libraries/joomla/document/document.php
Importing
jimport( 'joomla.document.document' );
Source Body
function getBase() {
return $this->base;
}
[Edit See Also] Template:SeeAlso:JDocument/getBase
Examples
<CodeExamplesForm />