pQuery\EmbeddedNode::toString PHP 메소드

toString() 공개 메소드

public toString ( $attributes = true, $recursive = true, $content_only = false )
    function toString($attributes = true, $recursive = true, $content_only = false)
    {
        $s = '<' . $this->tag;
        if ($attributes) {
            $s .= $this->toString_attributes();
        }
        $s .= $this->text . $this->self_close_str . '>';
        return $s;
    }