JDocumentRendererHead

From Joomla! Documentation

Jump to: navigation, search

JDocumentRendererHead is responsible for rendering the output for the <head> section of an HTML document. It is called whenever a <jdoc:include type="head" /> statement is encountered in the document template.

Note that any internal stylesheet rules that may have been added by the JDocument/addStyleDeclaration method will be output after all the external stylesheet links (both the default ones and any that may have been added by calls to the JDocument/addStyleSheet method. This ensures that the correct stylesheet cascade is preserved.

Contents

Availability

Joomla 1.5 Joomla 1.6

Defined in

/libraries/joomla/document/renderer/head.php

Extends

Methods

Method name Description
fetchHead Renders the document head and returns the result as a string.
render Renders the document head and returns the result as a string.

Importing

Do not import this class directly; it is imported and instantiated by JDocument->loadRenderer.

See also

Personal tools