Class Document
Class Document
- Tokamak\Dom\Node
-
Tokamak\Dom\Document
Direct known subclasses
Tokamak\Dom\HTMLDocument
public
|
#
__construct( array $data = null, array $doctype = null )
Initialize the document by passing it data/state. |
public
|
|
public
|
|
public
string
|
|
abstract public
string
|
addDomNode(),
appendComponent(),
appendElement(),
getDom(),
getDomNode(),
hasDomNodes(),
render(),
setDom()
|
public static
string
|
$version
The XML version of the document. Not used in HTML5 docs. |
#
'1.0'
|
public static
string
|
$encoding
The character encoding of the document. |
#
'UTF-8'
|
protected
DOMDocument
|
$dom
The underlying DOMDocument instance over which this library provides an abstraction. |
$COMPONENT_NAMESPACE,
$domNodes
|