Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions



Return a data structure that will instruct the configuration page generator functions to
add a multi select configuration variable to the setup page.

used as the values of the options, and the values are the choices the user sees. (But see
$usekeys, below.) Usually a $lang entry whose value is an array of strings.
If set to false the values from $choices will be used for both the values of the options
and the text the user sees. Defaulted to true.


$config_var string the name of the configuration variable to be added.
$label string the user text displayed to label the select block. Usually a $lang string.
$usekeys boolean true tells whether to use the keys from $choices as the values of the options.
$width integer 300 the width of the input field in pixels. Default: 300.
array string $choices the array of choices -- the options in the select block. The keys are


include/plugin_functions.php lines 702 to 705


function config_add_multi_select($config_var$label$choices$usekeys=true$width=300)
    return array(

This article was last updated 21st May 2024 11:35 Europe/London time based on the source file dated 7th May 2024 18:45 Europe/London time.