XMLWriter Funkcje
PHP Manual

XMLWriter::writePI

(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)

XMLWriter::writePIWrites a PI

Opis

Styl obiektowy

XMLWriter
bool writePI ( string $target , string $content )

Styl proceduralny

bool xmlwriter_write_pi ( resource $xmlwriter , string $target , string $content )

Writes a processing instruction.

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().

target

The target of the processing instruction.

content

The content of the processing instruction.

Zwracane wartości

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

Zobacz też:


XMLWriter Funkcje
PHP Manual