if (isset($options['exclude']) && is_array($options['exclude'])) {
$this->exclude = $options['exclude'];
}
+ if (isset($options['multiselect'])) {
+ $this->multiselect = $options['multiselect'];
+ }
// Read the user prefs / optional_params that we use.
$this->preserveselected = $this->initialise_option('userselector_preserveselected', $this->preserveselected);
'class' => get_class($this),
'name' => $this->name,
'exclude' => $this->exclude,
- 'extrafields' => $this->extrafields
+ 'extrafields' => $this->extrafields,
+ 'multiselect' => $this->multiselect
);
}