DomAttribute->name

(no version information, might be only in CVS)

DomAttribute->name --  Returns the name of attribute

说明

class DomAttribute {

string name ( void )

}

Gets the name of the attribute.

返回值

Returns the name of the attribute.

Migrating to PHP 5

Use the name property of DOMAttr.

参见

DomAttribute->value for an example