PHP 手冊
上一頁 |  | 下一頁

# DOMElement->getAttribute

(no version information, might be only in CVS)

DOMElement->getAttribute -- Returns value of attribute

## Description

string DOMElement->getAttribute ( string name)

Returns the value of the attribute with name name for the current node. If no attribute with given name is found, an empty string is returned.

See also DOMElement->setAttribute()

上一頁 | 最開頭 | 下一頁
DOMDocument->xinclude | 上一層 | DOMElement->getAttributeNode