Actions

API17

Difference between revisions of "JDocumentHTML"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JDocumentHTML==
 +
===Description===
 +
{{Description:JDocumentHTML}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDocumentHTML|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDocumentHTML|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JDocumentHTML}}
 
===Defined in===
 
libraries/joomla/document/html/html.php
 
* see source code in [[jplatform:document/html/html.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Document/11.1|Document]]
 
===Extends===
 
[[JDocument/11.1|JDocument]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JDocumentHTML::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JDocumentHTML::__construct|__construct]]
 
|Class constructor.  
 
|Class constructor.  
 
|-
 
|-
|[[JDocumentHTML::addCustomTag/11.1|addCustomTag]]
+
|public
 +
|[[API17:JDocumentHTML::addCustomTag|addCustomTag]]
 
|Adds a custom html string to the head block.  
 
|Adds a custom html string to the head block.  
 
|-
 
|-
|[[JDocumentHTML::addFavicon/11.1|addFavicon]]
+
|public
 +
|[[API17:JDocumentHTML::addFavicon|addFavicon]]
 
|Adds a shortcut icon (favicon).  
 
|Adds a shortcut icon (favicon).  
 
|-
 
|-
|[[JDocumentHTML::addHeadLink/11.1|addHeadLink]]
+
|public
 +
|[[API17:JDocumentHTML::addHeadLink|addHeadLink]]
 
|Adds <link> tags to the head of the document.  
 
|Adds <link> tags to the head of the document.  
 
|-
 
|-
|[[JDocumentHTML::countMenuChildren/11.1|countMenuChildren]]
+
|public
 +
|[[API17:JDocumentHTML::countMenuChildren|countMenuChildren]]
 
|Count the number of child menu items.  
 
|Count the number of child menu items.  
 
|-
 
|-
|[[JDocumentHTML::countModules/11.1|countModules]]
+
|public
 +
|[[API17:JDocumentHTML::countModules|countModules]]
 
|Count the modules based on the given condition.  
 
|Count the modules based on the given condition.  
 
|-
 
|-
|[[JDocumentHTML::getBuffer/11.1|getBuffer]]
+
|public
 +
|[[API17:JDocumentHTML::getBuffer|getBuffer]]
 
|Get the contents of a document include.  
 
|Get the contents of a document include.  
 
|-
 
|-
|[[JDocumentHTML::getHeadData/11.1|getHeadData]]
+
|public
 +
|[[API17:JDocumentHTML::getHeadData|getHeadData]]
 
|Get the html document head data.  
 
|Get the html document head data.  
 
|-
 
|-
|[[JDocumentHTML::mergeHeadData/11.1|mergeHeadData]]
+
|public
 +
|[[API17:JDocumentHTML::mergeHeadData|mergeHeadData]]
 
|Merge the html document head data.  
 
|Merge the html document head data.  
 
|-
 
|-
|[[JDocumentHTML::parse/11.1|parse]]
+
|public
 +
|[[API17:JDocumentHTML::parse|parse]]
 
|Parses the template and populates the buffer.  
 
|Parses the template and populates the buffer.  
 
|-
 
|-
|[[JDocumentHTML::render/11.1|render]]
+
|public
 +
|[[API17:JDocumentHTML::render|render]]
 
|Outputs the template to the browser.  
 
|Outputs the template to the browser.  
 
|-
 
|-
|[[JDocumentHTML::setBuffer/11.1|setBuffer]]
+
|public
 +
|[[API17:JDocumentHTML::setBuffer|setBuffer]]
 
|Set the contents a document includes.  
 
|Set the contents a document includes.  
 
|-
 
|-
|[[JDocumentHTML::setHeadData/11.1|setHeadData]]
+
|public
 +
|[[API17:JDocumentHTML::setHeadData|setHeadData]]
 
|Set the html document head data.  
 
|Set the html document head data.  
 
|-
 
|-
|[[JDocumentHTML::_fetchTemplate/11.1|_fetchTemplate]]
+
|protected
 +
|[[API17:JDocumentHTML::_fetchTemplate|_fetchTemplate]]
 
|Fetch the template, and initialise the params.  
 
|Fetch the template, and initialise the params.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/document/html/html.php
 +
* '''Extends''' [[API17:JDocument|JDocument]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.document.html.html' );</source>
 
<source lang="php">jimport( 'joomla.document.html.html' );</source>
 
===See also===
 
===See also===
* JDocumentHTML source code in [[jplatform:document/html/html.php|BitBucket]]
+
* {{JVer|11.1}} '''JDocumentHTML source code''' on [[jplatform:document/html/html.php|BitBucket]]
* [[JDocumentHTML|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Document|Document]]
 +
* [[API17:JDocumentHTML|Other versions of JDocumentHTML]]
 
{{SeeAlso:JDocumentHTML}}
 
{{SeeAlso:JDocumentHTML}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentHTML|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentHTML|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 78: Line 90:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JDocumentHTML]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:29, 11 May 2013

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.

Joomla 11.1 JDocumentHTML

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]

Methods

Visibility Method name Description
public __construct Class constructor.
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 mergeHeadData Merge the html document head data.
public parse Parses the template and populates the buffer.
public render Outputs the template to the browser.
public setBuffer Set the contents a document includes.
public setHeadData Set the html document head data.
protected _fetchTemplate Fetch the template, and initialise the params.
  • Defined in libraries/joomla/document/html/html.php
  • Extends JDocument

Importing

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

See also

  • Joomla 11.1 JDocumentHTML source code on BitBucket
  • Joomla 11.1 Subpackage Document
  • Other versions of JDocumentHTML

SeeAlso:JDocumentHTML [Edit See Also]

User contributed notes

<CodeExamplesForm />