TidyNode
PHP Manual

tidyNode->hasChildren

(PHP 5 >= 5.0.1)

tidyNode->hasChildren Indique si le noeud a des enfants

Description

bool tidyNode->hasChildren ( void )

Indique si le noeud courant a des enfants.

Valeurs de retour

Retourne TRUE si le noeud a des enfants, FALSE sinon.

Notes

Note: Cette fonction était appelée tidy_node->has_children() dans PHP 4/Tidy 1.


TidyNode
PHP Manual