Actions

API15

JDocumentHTML

From Joomla! Documentation

Revision as of 12:33, 25 March 2010 by Doxiki (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.

Contents

Defined in

libraries/joomla/document/html/html.php

Methods

Method name Description
__construct Class constructor
getHeadData Get the html document head data
setHeadData Set the html document head data
addHeadLink Adds <link> tags to the head of the document
addFavicon Adds a shortcut icon (favicon)
addCustomTag Adds a custom html string to the head block
getBuffer Get the contents of a document include
setBuffer Set the contents a document include
render Outputs the template to the browser.
countModules Count the modules based on the given condition
countMenuChildren Count the number of child menu items

Importing

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

[Edit See Also] SeeAlso:JDocumentHTML

Examples

<CodeExamplesForm />