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.

reset all options to default options (Previous) Example for the usage of XML_Serializer (Next)
Last updated: Wed, 17 Jan 2018 — 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.