API15

Difference between revisions of "JDocumentHTML"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JDocumentHTML}} ===Defined ...)
 
Line 45: Line 45:
 
|Count the number of child menu items
 
|Count the number of child menu items
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.document.html.html' );</source>
 
<source lang="php">jimport( 'joomla.document.html.html' );</source>

Revision as of 12:33, 25 March 2010

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JDocumentHTML

Defined in[edit]

libraries/joomla/document/html/html.php

Methods[edit]

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[edit]

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

[Edit See Also] Template:SeeAlso:JDocumentHTML

Examples[edit]

<CodeExamplesForm />