PHP 手册
后退 |  | 前进

# 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

后退 | 起点 | 前进
DOM XML Functions | 上一级 | DomAttribute->set_value