JDocumentRendererHead

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
m (Added note about stylesheet cascade.)
m (Added availability section.)
Line 2: Line 2:
  
 
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.
 
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.
 +
 +
===Availability===
 +
{{JVer|1.5}} {{JVer|1.6}}
 +
 
===Defined in===
 
===Defined in===
 
/libraries/joomla/document/renderer/head.php
 
/libraries/joomla/document/renderer/head.php

Revision as of 17:41, 3 July 2009

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
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox