PHP Manual
DomElement->get_attribute()
(no version information, might be only in CVS)
DomElement->get_attribute() -- Returns the value of the given attributeDescription
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.
Return Values
Returns the name of the attribute as a string or an empty string if no
attribute with the given name is found.
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




