PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
XML_Serializer::resetOptions() | Up | Class Summary XML_Unserializer