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