$childNodes
$childNodes : array
Object child nodes
Dom child 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 |
create(string $name, string $value = null, array $options = array()) : \Pop\Dom\Child
Static factory method to create a child object
string | $name | |
string | $value | |
array | $options |
parseString(string $string) : \Pop\Dom\Child|array
Static method to parse an XML/HTML string
string | $string |
parseFile(string $file) : \Pop\Dom\Child
Static method to parse an XML/HTML string from a file
string | $file |
setNodeName(string $name) : \Pop\Dom\Child
Set the child node name
string | $name |
setNodeValue(string $value) : \Pop\Dom\Child
Set the child node value
string | $value |
addNodeValue(string $value) : \Pop\Dom\Child
Add to the child node value
string | $value |
setAsCData(boolean $cData = true) : \Pop\Dom\Child
Set the child node value as CDATA
boolean | $cData |
setAttribute(string $a, string $v) : \Pop\Dom\Child
Set an attribute for the child element object
string | $a | |
string | $v |
setAttributes(array $a) : \Pop\Dom\Child
Set an attribute or attributes for the child element object
array | $a |
removeAttribute(string $a) : \Pop\Dom\Child
Remove an attribute from the child element object
string | $a |
setChildrenFirst(boolean $first = true) : \Pop\Dom\Child
Set whether child nodes render first, before the node value
boolean | $first |
preserveWhiteSpace(boolean $preserve = true) : \Pop\Dom\Child
Set whether to preserve whitespace
boolean | $preserve |