Support Joomla!

references:joomla.framework:document:jdocumenthtml-fetchhead

Table of Contents

fetchHead

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocumentHTML Method fetchHead Reference fetchHead() Never Work in Progress

Generates the head HTML and return the results as a string.

Syntax

string fetchHead ()

Examples

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" />
 
references/joomla.framework/document/jdocumenthtml-fetchhead.txt (518 views) · Last modified: 2007/08/15 15:04