DomNode->get_content
DomNode->has_child_nodes
DOM XML Функции
PHP Manual

# DomNode->has_attributes

(No version information available, might be only in CVS)

DomNode->has_attributes — Checks if node has attributes

### Описание

bool DomNode->has_attributes ( void )

This function checks if the node has attributes.

See also domnode_has_child_nodes().

DomNode->get_content
DomNode->has_child_nodes
DOM XML Функции
PHP Manual