- htmlName: Name of the HTML element.
- array: An array that hold the returned values (array keys) the naming for the elements (array values).
- type: SELTYPE_selection for a selection or SELTYPE_radio for radio buttons.
- vertical: Set to true if the radio buttons should be aligned vertically or to false for horizontal aligning. This parameter is ignored by selections.
- defaultSelection: The value of the item to select by default.
- prefKey: Variable name of the preference the dialog element stands for.
- js: Here can JavaScript or other parameters be added.
- multipleSize: If set to a number (and not to false) a multi selection is generated, where the user can select multiple entries. The number sets the amount of entries to show the user.
- forceDefaultSelection: Don't query $_POST or prefKey, use what is supplied by defaultSelection
- The value of the selected element or false if nothing was selected.