API17:JDocumentRendererHead
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JDocumentRendererHead== | ||
| + | ===Description=== | ||
| + | {{Description:JDocumentRendererHead}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JDocumentRendererHead|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDocumentRendererHead|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JDocumentRendererHead::fetchHead/11.1|fetchHead]] | |[[JDocumentRendererHead::fetchHead/11.1|fetchHead]] | ||
|Generates the head html and return the results as a string. | |Generates the head html and return the results as a string. | ||
|- | |- | ||
| + | |public | ||
|[[JDocumentRendererHead::render/11.1|render]] | |[[JDocumentRendererHead::render/11.1|render]] | ||
|Renders the document head and returns the results as a string. | |Renders the document head and returns the results as a string. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/document/html/renderer/head.php | ||
| + | * '''Extends''' [[JDocumentRenderer/11.1|JDocumentRenderer]] | ||
===Importing=== | ===Importing=== | ||
<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|Other versions of | + | * {{JVer|11.1}} '''JDocumentRendererHead source code''' on [[jplatform:document/html/renderer/head.php|BitBucket]] |
| + | * {{JVer|11.1}} Subpackage [[Subpackage Document/11.1|Document]] | ||
| + | * [[JDocumentRendererHead|Other versions of JDocumentRendererHead]] | ||
{{SeeAlso:JDocumentRendererHead}} | {{SeeAlso:JDocumentRendererHead}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDocumentRendererHead|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDocumentRendererHead|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 40: | Line 42: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JDocumentRendererHead]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JDocumentRendererHead]]</noinclude> |
Revision as of 13:38, 29 August 2012
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.
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
-
JDocumentRendererHead source code on BitBucket
-
Subpackage Document
- Other versions of JDocumentRendererHead
SeeAlso:JDocumentRendererHead [Edit See Also]
User contributed notes
<CodeExamplesForm />
