DOM XML 函数
PHP 手册

DomAttribute->set_value

(No version information available, might be only in CVS)

DomAttribute->set_value Sets the value of an attribute

说明

DomAttribute
bool set_value ( string $content )

This function sets the value of an attribute.

参数

content

The new value.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

Migrating to PHP 5

Set the value property of DOMAttr.

参见


DOM XML 函数
PHP 手册