- htmlName: Name of the HTML element.
- array: An array that hold the returned values (array keys) the naming for the elements (array values).
- imgArray: An array containing the images for our options.
- 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.
- forceDefaultSelection: Don't query $_POST, use what is supplied by defaultSelection
- The value of the selected element or false if nothing was selected.