您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

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.