PHP 手冊
上一頁 |  | 下一頁

# DomElement->get_attribute

(no version information, might be only in CVS)

DomElement->get_attribute -- Returns value of attribute

## Description

object DomElement->get_attribute ( string name)

Returns the attribute with name name of the current node.

(PHP >= 4.3 only) If no attribute with given name is found, an empty string is returned.

See also domelement_set_attribute()

上一頁 | 最開頭 | 下一頁
DomElement->get_attribute_node | 上一層 | DomElement->get_elements_by_tagname