DOM XML Funkcje
PHP Manual

DomAttribute->set_value

(PHP 4 >= 4.1.0)

DomAttribute->set_value Sets the value of an attribute

Opis

DomAttribute
bool set_value ( string $content )

This function sets the value of an attribute.

Parametry

content

The new value.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Migrating to PHP 5

Set the value property of DOMAttr.

Zobacz też:


DOM XML Funkcje
PHP Manual