Actions

API17

JDocumentRendererHead

From Joomla! Documentation

Revision as of 20:30, 11 May 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Joomla 11.1 JDocumentRendererHead

Description

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

Methods

Visibility Method name Description
public fetchHead Generates the head html and return the results as a string.
public render Renders the document head and returns the results as a string.
  • Defined in libraries/joomla/document/html/renderer/head.php
  • Extends JDocumentRenderer

Importing

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

See also

  • Joomla 11.1 JDocumentRendererHead source code on BitBucket
  • Joomla 11.1 Subpackage Document
  • Other versions of JDocumentRendererHead

SeeAlso:JDocumentRendererHead [Edit See Also]

User contributed notes

<CodeExamplesForm />