JDocumentHTML/1.5
From Joomla! Documentation
< JDocumentHTML(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 71: | Line 71: | ||
<source lang="php">jimport( 'joomla.document.html.html' );</source> | <source lang="php">jimport( 'joomla.document.html.html' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JDocumentHTML''' on [http://api.joomla.org/Joomla-Framework/Document/JDocumentHTML.html api.joomla.org] | + | * {{JVer|1.5}} '''JDocumentHTML''' on [http://api.joomla.org/1.5/Joomla-Framework/Document/JDocumentHTML.html api.joomla.org] |
* {{JVer|1.5}} '''JDocumentHTML source code''' on [[jframework15:document/html/html.php|JoomlaCode]] | * {{JVer|1.5}} '''JDocumentHTML source code''' on [[jframework15:document/html/html.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Document/1.5|Document]] | * {{JVer|1.5}} Subpackage [[Subpackage Document/1.5|Document]] | ||
Latest revision as of 14:17, 13 February 2013
[edit]
JDocumentHTML
[edit] Description
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.
[Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Class constructor. |
| public | _loadTemplate | Load a template file. |
| public | _parseTemplate | Parse a document template. |
| public | addCustomTag | Adds a custom html string to the head block. |
| public | addFavicon | Adds a shortcut icon (favicon). |
| public | addHeadLink | Adds <link> tags to the head of the document. |
| public | countMenuChildren | Count the number of child menu items. |
| public | countModules | Count the modules based on the given condition. |
| public | getBuffer | Get the contents of a document include. |
| public | getHeadData | Get the html document head data. |
| public | render | Outputs the template to the browser. |
| public | setBuffer | Set the contents a document include. |
| public | setHeadData | Set the html document head data. |
- Defined in libraries/joomla/document/html/html.php
- Extends JDocument
[edit] Importing
jimport( 'joomla.document.html.html' );
[edit] See also
-
JDocumentHTML on api.joomla.org
-
JDocumentHTML source code on JoomlaCode
-
Subpackage Document
- Other versions of JDocumentHTML
SeeAlso:JDocumentHTML [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />