| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocumentHTML |
fetchHead |
fetchHead() |
Never | Work in Progress |
Generates the head HTML and return the results as a string.
string fetchHead ()
Example
global $mainframe; $document =& JFactory::getDocument(); echo $document->fetchHead();
might produce:
Result
<title></title> <base href="http://127.0.0.1/joomla11/" /> <meta name="Generator" content="Joomla! - Copyright (C) 2005 Open Source Matters. All rights reserved." /> <meta name="description" content="Joomla! - the dynamic portal engine and content management system" /> <meta name="keywords" content="joomla, Joomla" /> <meta name="robots" content="index, follow" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />