DOMElement->getAttribute()

DOMElement->getAttribute() -- Returns value of attribute

Opis

class DOMElement {

string getAttribute ( string name )

}

Gets the value of the attribute with name name for the current node.

Parametry

name

The name of the attribute.

Zwracane wartości

The value of the attribute, or an empty string if no attribute with the given name is found.

Patrz także

DOMElement->hasAttribute()
DOMElement->setAttribute()
DOMElement->removeAttribute()

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:43