function form_options_to_text in Options Element 6
Same name and namespace in other branches
- 7 options_element.module \form_options_to_text()
Create a textual representation of options from an array.
Parameters
$options: An array of options used in a select list.
$key_type: How key/value pairs should be interpreted. Available options:
- mixed
- numeric
- associative
- custom
- none
1 call to form_options_to_text()
- _form_options_expand in ./
options_element.inc - Logic function for form_options_expand(). Do not call directly.
File
- ./
options_element.module, line 156 - Defines an "options" form element type for entering select list options.
Code
function form_options_to_text($options, $key_type) {
module_load_include('inc', 'options_element');
return _form_options_to_text($options, $key_type);
}