API15:JDocument/getBase
From Joomla! Documentation
Description
Return the base URI of the document.
Note: To return the path of the Joomla installation (no domain name), use $this->baseurl within your template files.
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
getBase()
Returns
string public
Defined in
libraries/joomla/document/document.php
Importing
jimport( 'joomla.document.document' );
Source Body
function getBase() {
return $this->base;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples