Forum und email

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.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE

Migrating to PHP 5

Set the value property of DOMAttr.