JDocumentRendererHead/1.5
From Joomla! Documentation
< JDocumentRendererHead(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 27: | Line 27: | ||
<source lang="php">jimport( 'joomla.document.html.renderer.head' );</source> | <source lang="php">jimport( 'joomla.document.html.renderer.head' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JDocumentRendererHead''' on [http://api.joomla.org/Joomla-Framework/Document/JDocumentRendererHead.html api.joomla.org] | + | * {{JVer|1.5}} '''JDocumentRendererHead''' on [http://api.joomla.org/1.5/Joomla-Framework/Document/JDocumentRendererHead.html api.joomla.org] |
* {{JVer|1.5}} '''JDocumentRendererHead source code''' on [[jframework15:document/html/renderer/head.php|JoomlaCode]] | * {{JVer|1.5}} '''JDocumentRendererHead source code''' on [[jframework15:document/html/renderer/head.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Document/1.5|Document]] | * {{JVer|1.5}} Subpackage [[Subpackage Document/1.5|Document]] | ||
Latest revision as of 14:17, 13 February 2013
[edit]
JDocumentRendererHead
[edit] 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]
[edit] 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
[edit] Importing
jimport( 'joomla.document.html.renderer.head' );
[edit] See also
-
JDocumentRendererHead on api.joomla.org
-
JDocumentRendererHead source code on JoomlaCode
-
Subpackage Document
- Other versions of JDocumentRendererHead
SeeAlso:JDocumentRendererHead [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />