Actions

API17

Difference between revisions of "JDocumentRendererHead"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/document/html/renderer/head.php
 
libraries/joomla/document/html/renderer/head.php
 +
* see source code in [[jplatform:document/html/renderer/head.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Document/11.1|Document]]
 
[[Subpackage Document/11.1|Document]]
Line 27: Line 28:
 
<source lang="php">jimport( 'joomla.document.html.renderer.head' );</source>
 
<source lang="php">jimport( 'joomla.document.html.renderer.head' );</source>
 
===See also===
 
===See also===
 +
* JDocumentRendererHead source code in [[jplatform:document/html/renderer/head.php|BitBucket]]
 
* [[JDocumentRendererHead|Other versions of this class]]
 
* [[JDocumentRendererHead|Other versions of this class]]
 
{{SeeAlso:JDocumentRendererHead}}
 
{{SeeAlso:JDocumentRendererHead}}

Revision as of 17:52, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] 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.

Defined in

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

Subpackage

Document

Extends

JDocumentRenderer

Extended by

Methods

Method name Description
fetchHead Generates the head html and return the results as a string.
render Renders the document head and returns the results as a string.

Importing

jimport( 'joomla.document.html.renderer.head' );

See also

SeeAlso:JDocumentRendererHead [Edit See Also]

Examples

<CodeExamplesForm />