XML
XML
Constant to use the XML doctype
Dom class
$parent : \Pop\Dom\AbstractNode
Parent node
getParent() : \Pop\Dom\AbstractNode
Return the parent node
setParent(\Pop\Dom\AbstractNode $parent) : \Pop\Dom\AbstractNode
Set the parent node
\Pop\Dom\AbstractNode | $parent |
getChild(integer $i) : \Pop\Dom\Child
Get the child nodes of the object
integer | $i |
__construct(string $doctype = 'XML', \Pop\Dom\Child $childNode = null, string $indent = null)
Constructor
Instantiate the document object
string | $doctype | |
\Pop\Dom\Child | $childNode | |
string | $indent |
setDoctype(string $doctype) : \Pop\Dom\Document
Set the document type
string | $doctype |
setCharset(string $char) : \Pop\Dom\Document
Set the document charset
string | $char |
setContentType(string $content) : \Pop\Dom\Document
Set the document charset
string | $content |