API17:JDocumentHTML
From Joomla! Documentation
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]
This class defines a web page document. Note that templates are executed within the scope of this object, so $this in a template is an object of type JDocumentHTML.
Defined in
libraries/joomla/document/html/html.php
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Class constructor. |
| addCustomTag | Adds a custom html string to the head block. |
| addFavicon | Adds a shortcut icon (favicon). |
| addHeadLink | Adds <link> tags to the head of the document. |
| countMenuChildren | Count the number of child menu items. |
| countModules | Count the modules based on the given condition. |
| getBuffer | Get the contents of a document include. |
| getHeadData | Get the html document head data. |
| mergeHeadData | Merge the html document head data. |
| parse | Parses the template and populates the buffer. |
| render | Outputs the template to the browser. |
| setBuffer | Set the contents a document includes. |
| setHeadData | Set the html document head data. |
| _fetchTemplate | Fetch the template, and initialise the params. |
Importing
jimport( 'joomla.document.html.html' );
See also
SeeAlso:JDocumentHTML [Edit See Also]
Examples
<CodeExamplesForm />
