JDocumentHTMLDocumentHTML class, provides an easy interface to parse and display a HTML document
Located in /libraries/joomla/document/html/html.php (line 21)
JDocument | --JDocumentHTML
JDocumentHTML
addFavicon
(string $href, [string $type = 'image/vnd.microsoft.icon'], [string $relation = 'shortcut icon'])
JDocumentHTML
addHeadLink
(string $href, string $relation, [string $relType = 'rel'], [array $attribs = array()])
string
$baseurl
= null (line 53)
Base url
array
$params
= null (line 61)
Array of template parameters
string
$template
= null (line 45)
Name of the template
integer
$_caching
= null (line 93)
Integer with caching setting
array
$_custom
= array() (line 37)
Array of custom tags
array
$_file
= null (line 69)
File name
array
$_links
= array() (line 29)
Array of Header <link> tags
string
$_template
= '' (line 77)
String holding parsed template
array
$_template_tags
= array() (line 85)
Array of parsed template JDoc tags
Inherited from JDocument
JDocument::$base
JDocument::$description
JDocument::$direction
JDocument::$instances
JDocument::$language
JDocument::$link
JDocument::$mediaVersion
JDocument::$title
JDocument::$_buffer
JDocument::$_charset
JDocument::$_engine
JDocument::$_generator
JDocument::$_lineEnd
JDocument::$_mdate
JDocument::$_metaTags
JDocument::$_mime
JDocument::$_namespace
JDocument::$_profile
JDocument::$_script
JDocument::$_scripts
JDocument::$_style
JDocument::$_styleSheets
JDocument::$_tab
JDocument::$_type
Class constructor
Adds a custom HTML string to the head block
Adds a shortcut icon (favicon)
This adds a link to the icon shown in the favorites list or on the left of the url in the address bar. Some browsers display it on the tab, as well.
Adds <link> tags to the head of the document
$relType defaults to 'rel' as it is the most common relation type used. ('rev' refers to reverse relation, 'rel' indicates normal, forward relation.) Typical tag: <link href="index.php" rel="Start">
Count the modules based on the given condition
Get the contents of a document include
Merge the HTML document head data
Parses the template and populates the buffer
Outputs the template to the browser.
Set the contents a document includes
Set the HTML document head data
Sets whether the document should be output as HTML5
Fetch the template, and initialise the params
Load a template file
Inherited From JDocument
JDocument::__construct()
JDocument::addScript()
JDocument::addScriptDeclaration()
JDocument::addScriptVersion()
JDocument::addStyleDeclaration()
JDocument::addStyleSheet()
JDocument::addStyleSheetVersion()
JDocument::getBase()
JDocument::getBuffer()
JDocument::getCharset()
JDocument::getDescription()
JDocument::getDirection()
JDocument::getGenerator()
JDocument::getInstance()
JDocument::getLanguage()
JDocument::getLink()
JDocument::getMediaVersion()
JDocument::getMetaData()
JDocument::getMimeEncoding()
JDocument::getModifiedDate()
JDocument::getTitle()
JDocument::getType()
JDocument::loadRenderer()
JDocument::parse()
JDocument::render()
JDocument::setBase()
JDocument::setBuffer()
JDocument::setCharset()
JDocument::setDescription()
JDocument::setDirection()
JDocument::setGenerator()
JDocument::setLanguage()
JDocument::setLineEnd()
JDocument::setLink()
JDocument::setMediaVersion()
JDocument::setMetaData()
JDocument::setMimeEncoding()
JDocument::setModifiedDate()
JDocument::setTab()
JDocument::setTitle()
JDocument::setType()
JDocument::_getLineEnd()
JDocument::_getTab()
Documentation generated on Tue, 19 Nov 2013 15:04:54 +0100 by phpDocumentor 1.4.3