JDocumentDocument class, provides an easy interface to parse and display a document
Located in /libraries/joomla/document/document.php (line 19)
| Class | Description |
|---|---|
JDocumentError
|
DocumentError class, provides an easy interface to parse and display an error page |
JDocumentFeed
|
DocumentFeed class, provides an easy interface to parse and display any feed document |
JDocumentHTML
|
DocumentHTML class, provides an easy interface to parse and display a HTML document |
JDocumentImage
|
DocumentImage class, provides an easy interface to output image data |
JDocumentJSON
|
JDocumentJSON class, provides an easy interface to parse and display JSON output |
JDocumentOpensearch
|
OpenSearch class, provides an easy interface to display an OpenSearch document |
JDocumentRaw
|
DocumentRAW class, provides an easy interface to parse and display raw output |
JDocumentXml
|
DocumentXML class, provides an easy interface to parse and display XML output |
JDocument
addScript
(string $url, [string $type = "text/javascript"], [boolean $defer = false], [boolean $async = false])
JDocument
addScriptVersion
(string $url, [string $version = null], [string $type = "text/javascript"], [boolean $defer = false], [boolean $async = false])
JDocument
addStyleSheet
(string $url, [string $type = 'text/css'], [string $media = null], [array $attribs = array()])
JDocument
addStyleSheetVersion
(string $url, [string $version = null], [string $type = "text/css"], [string $media = null], [array $attribs = array()])
static array
$instances
= array() (line 202)
JDocument instances container.
static mixed
$_buffer
= null (line 194)
Array of buffered output
string
$base
= '' (line 51)
Document base URL
string
$description
= '' (line 35)
Document description
string
$direction
= 'ltr' (line 67)
Contains the document direction setting
string
$language
= 'en-gb' (line 59)
Contains the document language setting
string
$link
= '' (line 43)
Document full URL
string
$mediaVersion
= null (line 210)
Media version added to assets
string
$title
= '' (line 27)
Document title
string
$_charset
= 'utf-8' (line 106)
Contains the character encoding string
object
$_engine
= null (line 178)
The rendering engine
string
$_generator
= 'Joomla! - Open Source Content Management' (line 74)
Document generator
string
$_lineEnd
= "\12" (line 98)
Contains the line end string
string
$_mdate
= '' (line 82)
Document modified date
array
$_metaTags
= array() (line 170)
Array of meta tags
string
$_mime
= '' (line 114)
Document mime type
string
$_namespace
= '' (line 122)
Document namespace
string
$_profile
= '' (line 130)
Document profile
array
$_script
= array() (line 146)
Array of scripts placed in the header
array
$_scripts
= array() (line 138)
Array of linked scripts
array
$_style
= array() (line 162)
Array of included style declarations
array
$_styleSheets
= array() (line 154)
Array of linked style sheets
string
$_tab
= "\11" (line 90)
Tab string
string
$_type
= null (line 186)
The document type
Returns the global JDocument object, only creating it if it doesn't already exist.
Class constructor.
Adds a linked script to the page
Adds a script to the page
Adds a linked script to the page with a version to allow to flush it. Ex: myscript.js54771616b5bceae9df03c6173babf11d If not specified Joomla! automatically handles versioning
Adds a stylesheet declaration to the page
Adds a linked stylesheet to the page
Adds a linked stylesheet version to the page. Ex: template.css?54771616b5bceae9df03c6173babf11d If not specified Joomla! automatically handles versioning
Get the contents of the document buffer
Gets a meta tag.
Return the document MIME encoding that is sent to the browser.
Load a renderer
Parses the document and prepares the buffers
Outputs the document
Sets the base URI of the document
Set the contents of the document buffer
Sets the document charset
Sets the description of the document
Sets the global document direction declaration. Default is left-to-right (ltr).
Sets the document generator
Sets the global document language declaration. Default is English (en-gb).
Sets the line end style to Windows, Mac, Unix or a custom string.
Set the assets version
Sets or alters a meta tag.
Sets the document MIME encoding that is sent to the browser.
This usually will be text/html because most browsers cannot yet accept the proper mime settings for XHTML: application/xhtml+xml and to a lesser extent application/xml and text/xml. See the W3C note (http://www.w3.org/TR/xhtml-media-types/) for more details.
Sets the document modified date
Sets the string used to indent HTML
Sets the title of the document
Set the document type
Documentation generated on Tue, 19 Nov 2013 15:01:37 +0100 by phpDocumentor 1.4.3