API15

API15:JDocument/setTitle

From Joomla! Documentation

Revision as of 00:31, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Sets the title of the document

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

setTitle($title)
Parameter Name Default Value Description
$title $title public

Defined in

libraries/joomla/document/document.php

Importing

jimport( 'joomla.document.document' );

Source Body

function setTitle($title) {
        $this->title = $title;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples