function _webform_optionsmarkup_options in Webform Options Markup 7.2
Same name and namespace in other branches
- 7 components/webform_optionsmarkup.inc \_webform_optionsmarkup_options()
Generate a list of options for a select list.
7 calls to _webform_optionsmarkup_options()
- _webform_analysis_optionsmarkup in components/
webform_optionsmarkup.inc - Implements _webform_analysis_component().
- _webform_csv_data_optionsmarkup in components/
webform_optionsmarkup.inc - Implements _webform_csv_data_component().
- _webform_csv_headers_optionsmarkup in components/
webform_optionsmarkup.inc - Implements _webform_csv_headers_component().
- _webform_display_optionsmarkup in components/
webform_optionsmarkup.inc - Implements _webform_display_component().
- _webform_render_optionsmarkup in components/
webform_optionsmarkup.inc - Implements _webform_render_component().
File
- components/
webform_optionsmarkup.inc, line 623 - Webform component that allows markup in checkbox and radio options.
Code
function _webform_optionsmarkup_options($component, $flat = FALSE, $filter = TRUE) {
$options = _webform_optionsmarkup_options_from_text($component['extra']['items'], $flat, $filter);
return isset($options) ? $options : array();
}