pQuery\DomNode::getPlainText PHP 메소드

getPlainText() 공개 메소드

Similar to JavaScript plainText, will return text in node (and subnodes)
public getPlainText ( ) : string
리턴 string
    function getPlainText()
    {
        return preg_replace('`\\s+`', ' ', html_entity_decode($this->toString(true, true, true), ENT_QUOTES));
    }
DomNode