(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::writeAttribute -- xmlwriter_write_attribute — Write full attribute
Styl obiektowy
$name
, string $value
)Styl proceduralny
$xmlwriter
, string $name
, string $value
)Writes a full attribute.
xmlwriterJedynie dla wywołań proceduralnych. Zasób XMLWriter, który jest modfikowany. Ten zasób pochodzi, z wywołania funkcji xmlwriter_open_uri() lub xmlwriter_open_memory().
name
The name of the attribute.
value
The value of the attribute.
Zwraca TRUE w przypadku powodzenia, FALSE w
przypadku błędu.