API15

JDocument/getBase

< API15:JDocument

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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


Advertisement