DomAttribute->set_value

(no version information, might be only in CVS)

DomAttribute->set_value --  Sets the value of an attribute

说明

class 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.

参见

DomAttribute->value