API16

API16:JDocument/setTitle

From Joomla! Documentation

Revision as of 22:44, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Sets the title of the document <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowik...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Sets the title of the document

[Edit Descripton]

Template:Description:JDocument/setTitle

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;
}

[Edit See Also] Template:SeeAlso:JDocument/setTitle

Examples

<CodeExamplesForm />