XML_Serializer::setOption

XML_Serializer::setOption() – set an option

Synopsis

require_once 'Serializer.php';

void XML_Serializer::setOption ( mixed $name , mixed $value )

Description

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

Parameter

mixed $name

mixed $value

Throws

throws no exceptions thrown

See

see resetOption(), XML_Serializer::XML_Serializer()

Note

This function can not be called statically.