pQuery\DomNode::addText PHP Method

addText() public method

#php5
public addText ( $text, &$offset = null )
    function &addText($text, &$offset = null)
    {
        #php5e
        return $this->addChild(new $this->childClass_Text($this, $text), $offset);
    }
DomNode