API15

Difference between revisions of "JApplication/setPageTitle"

From Joomla! Documentation

< API15:JApplication
(New page: ===Description=== Deprecated, use JDocument::setTitle instead. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JApplication/setPageTitle|Edit Descrip...)
(No difference)

Revision as of 17:09, 22 March 2010

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[edit]

Deprecated, use JDocument::setTitle instead.

[Edit Descripton]

Template:Description:JApplication/setPageTitle

Syntax[edit]

setPageTitle($title=null)
Parameter Name Default Value Description
$title null

Defined in[edit]

libraries/joomla/application/application.php

Importing[edit]

jimport( 'joomla.application.application' );

Source Body[edit]

function setPageTitle( $title=null )
{
        $document=& JFactory::getDocument();
        $document->setTitle($title);
}

[Edit See Also] Template:SeeAlso:JApplication/setPageTitle

Examples[edit]

<CodeExamplesForm />