You should pass an associative array. The keys should be the names of
existing properties in this class. The values should be the value for these
properties.
Alternatively you can override the method getDefaultOption() to return the
name of an existing property. If no associative array is passed, this
property is set instead.
You can force that certain options are set by overriding
getRequiredOptions() to return the names of these options. If any
option is not set here, an exception is thrown.
public __construct ( mixed $options = null ) | ||
$options | mixed | The options (as associative array) or the value for the default option (any other type) |