JDocumentRendererHead

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
m (Added availability section.)
m (bad link repair)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
'''JDocumentRendererHead''' is responsible for rendering the output for the <nowiki><head></nowiki> section of an HTML document.  It is called whenever a <code><jdoc:include type="head" /></code> statement is encountered in the document template.
+
This class is available in the following Joomla versions:-
 
+
<splist showpath=notparent />
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.
+
<noinclude>[[Category:Platform JClasses]][[Category:JDocumentRendererHead]]</noinclude>
 
+
===Availability===
+
{{JVer|1.5}} {{JVer|1.6}}
+
 
+
===Defined in===
+
/libraries/joomla/document/renderer/head.php
+
 
+
===Extends===
+
* [[JDocumentRenderer]]
+
 
+
===Methods===
+
{| class="wikitable"
+
|-
+
!Method name
+
!Description
+
|-
+
|[[JDocumentRendererHead/fetchHead|fetchHead]]
+
|Renders the document head and returns the result as a string.
+
|-
+
|[[JDocumentRendererHead/render|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|JDocument->loadRenderer]].
+
 
+
===See also===
+
* [http://api.joomla.org/Joomla-Framework/Document/JDocumentRendererHead.html JDocumentRendererHead on api.joomla.org]
+
* [[JDocument]]
+
<noinclude>[[Category:Development]][[Category:Framework]][[Category:JDocumentRenderer]]</noinclude>
+

Latest revision as of 13:38, 29 August 2012

This class is available in the following Joomla versions:-

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox