XMLWriter::writeAttribute
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::writeAttribute — Write full attribute
Opis
Styl obiektowy
XMLWriter
bool writeAttribute
( string $name
, string $value
)
Styl proceduralny
bool xmlwriter_write_attribute
( resource $xmlwriter
, string $name
, string $value
)
Writes a full attribute.
Parametry
- xmlwriter
-
Jedynie 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.
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.
Zobacz też:
- XMLWriter::writeAttributeNS - Write full namespaced attribute
- XMLWriter::startAttribute - Create start attribute
- XMLWriter::startAttributeNS - Create start namespaced attribute
- XMLWriter::endAttribute - End attribute
XMLWriter::writeAttribute
There are no user contributed notes for this page.
