Documentation

TextNode
in package
implements NodeInterface

FinalYes
Tags
author

Titouan Galopin galopintitouan@gmail.com

Table of Contents

Interfaces

NodeInterface
Represents the sanitized version of a DOM node in the sanitized tree.

Properties

$parentNode  : NodeInterface
$text  : string

Methods

__construct()  : mixed
addChild()  : void
Add a child node to this node.
getParent()  : NodeInterface|null
Return the parent node of this node, or null if it has no parent node.
render()  : string
Render this node as a string, recursively rendering its children as well.

Properties

Methods

render()

Render this node as a string, recursively rendering its children as well.

public render() : string
Return values
string

        
On this page

Search results