====== fetchHead ====== {#JAPI Joomla.Framework Document JDocumentRendererHead::fetchHead #} Generates the head HTML and return the results as a string. Renders the following items: * document title * base href link * meta tag data * link declarations * stylesheet links * style declarations * script file links * script declarations * custom tags The line end characters, tab characters and tag end characters are retrieved from the $document parameter. ===== Syntax ===== string fetchHead ( **&$document** ) | **&$document** | [[jdocument|JDocument]] | is a [[jdocument|JDocument]] object containing the data to render. | ===== Examples ===== $document =& JFactory::getDocument(); jimport( 'joomla.document.renderer' ); jimport( 'joomla.document.html.renderer.head' ); $renderer = new JDocumentRendererHead( $document ); echo $renderer->fetchHead( $document ); might produce: Joomla! 1.5 Testing - Administration ---- ~~DISCUSSION~~