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.