PHP Dokumentation: Domnode haschildnodes
12. Januar 2010 von werner
DOMNode::hasChildNodes
(PHP 5)
DOMNode::hasChildNodes — Checks if node has children
Beschreibung
bool DOMNode::hasChildNodes ( void )
This function checks if the node has children.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- DOMNode::hasAttributes – Checks if node has attributes