NodeInterface
interface NodeInterface
Represents the sanitized version of a DOM node in the sanitized tree.
Once the sanitization is done, nodes are rendered into the final output string.
Methods
void
NodeInterface|null
getParent()
Return the parent node of this node, or null if it has no parent node.
string
render()
Render this node as a string, recursively rendering its children as well.
Details
NodeInterface|null
getParent()
Return the parent node of this node, or null if it has no parent node.