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.