| Method | Description |
__construct | Class constructor. |
addScript | Adds a linked script to the page. |
addScriptDeclaration | Adds a script to the page. |
addStyleDeclaration | Adds a stylesheet declaration to the page. |
addStyleSheet | Adds a linked stylesheet to the page. |
display | Outputs the template to the browser. |
execRenderer | Execute a renderer. |
fetchBody | Return the document body. |
fetchHead | Return the document head. |
getCharset | Returns the document charset encoding. |
getInstance | Returns a reference to the global JDocument object, only creating it if it doesn't already exist. |
getLang | Returns the document language. |
getTitle | Return the title of the page. |
parse | Parse a file and create an internal patTemplate object. |
setCharset | Sets the document charset. |
setLang | Sets the global document language declaration. Default is English. |
setLineEnd | Sets the line end style to Windows, Mac, Unix or a custom string. |
setMimeEncoding | Sets the document MIME encoding that is sent to the browser. |
setTab | Sets the string used to indent HTML. |
setTitle | Sets the title of the page. |
setType | Sets the document type of the page. |
_addRenderer | Adds a renderer to be called. |