XML_Unserializer::setOption

XML_Unserializer::setOption() – set an option

Synopsis

require_once 'Unserializer.php';

void XML_Unserializer::setOption ( string $name , mixed $value )

Description

Options influence the behaviour of XML_Unserializer and are the most important part of XML_Unserializer.

You can use this method if you do not want to set all options in the constructor.

Parameter

  • string $option - name of the option

  • mixed $value - value of the option

Note

This function can not be called statically.

get the name of the root tag of the parsed document. (Previous) set several options (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.