From Joomla! Documentation

Revision as of 14:47, 20 April 2011 by Doxiki2 (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.

[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






Extended by


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.


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

See also

SeeAlso:JDocumentHTML [Edit See Also]


<CodeExamplesForm />