tidyNode->isText
Tokenizer
Tidy Функции
PHP Manual

# tidyNode::getParent

(PHP 5 >= 5.2.2)

tidyNode::getParent — returns the parent node of the current node

### Описание

tidyNode tidyNode::getParent ( void )

Returns the parent node of the current node.

### Возвращаемые значения

Returns a tidyNode if the node has a parent, or `NULL` otherwise.

tidyNode->isText
Tokenizer
Tidy Функции
PHP Manual