references:joomla.framework:document:jdocumentrendererhead-fetchheadfetchHead
Generates the head HTML and return the results as a string. Renders the following items:
The line end characters, tab characters and tag end characters are retrieved from the $document parameter. Syntaxstring fetchHead ( &$document )
ExamplesExample $document =& JFactory::getDocument(); jimport( 'joomla.document.renderer' ); jimport( 'joomla.document.html.renderer.head' ); $renderer = new JDocumentRendererHead( $document ); echo $renderer->fetchHead( $document ); might produce: Result <title>Joomla! 1.5 Testing - Administration</title> <meta name="description" content="Joomla! - the dynamic portal engine and content management system" /> <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" /> <meta name="keywords" content="joomla, Joomla" /> <script type="text/javascript" src="../includes/js/mootools-uncompressed.js"></script> <script type="text/javascript" src="../includes/js/joomla.javascript.js"></script> Discussion |


