PHP. Руководство по PHP. 2005
DomElement->get_attribute()
HREF="function.domelement-get-attribute-node.html"> HREF="function.domelement-get-elements-by-tagname.html"> Пред.
DomElement->get_attribute()
(no version information, might be only in CVS)DomElement->get_attribute() -- Returns the value of the given attribute
Описание
class DomElement {string get_attribute (string name)
}
Returns the value of the given attribute in the current element.
Since PHP 4.3, if no attribute with given name is found, an empty string is returned.