PHP 手冊
前一頁 |  | 下一頁

# DomNode->attributes

(no version information, might be only in CVS)

DomNode->attributes -- Returns list of attributes

## Description

array DomNode->attributes ( void )

This function only returns an array of attributes if the node is of type XML_ELEMENT_NODE.

(PHP >= 4.3 only) If no attributes are found, NULL is returned.

前一頁 | 內容 | 下一頁
DomNode->append_sibling | 上一層 | DomNode->child_nodes