====== setTitle ======
{#JAPI Joomla.Framework Document JDocument::setTitle #}
Sets the title of the page.
===== Syntax =====
void setTitle ( **$title** )
| **$title** | string | is a string containing the title for the page. |
===== Examples =====
Set the title for the page.
global $mainframe;
$document =& JFactory::getDocument();
$document->setTitle( 'Joomla! Documentation Test Bed' );
echo "Title: " . $document->getTitle();
Might produce:
Title: Joomla! Documentation Test Bed