| API | Package | Subpackage | Class | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocumentHTML |
JDocumentHTML |
Never | Work in Progress |
The JDocumentHTML class provides an easy interface to parse and display an HTML document. It extends the JDocument class. This class is instantiated when the JDocument::getInstance() method is called with ‘html’ as the type parameter.
| Method | 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. |
fetchHead | Generates the head HTML and return the results as a string. |
getBase | Returns the document base URL. |
parse | Parse a document template. |
setBase | Sets the document base URL tag. |
setMetaContentType | Sets an http-equiv Content-Type meta tag. |
setMetaData | Sets or alters a meta tag. |