[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/webform/components/ -> select.inc (summary)

(no description)

File Size: 906 lines (30 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 23 functions

  _webform_defaults_select()
  _webform_theme_select()
  _webform_edit_select()
  _webform_edit_validate_select()
  _webform_edit_validate_options()
  _webform_render_select()
  webform_expand_checkboxes()
  webform_checkbox_value()
  webform_expand_select_ids()
  _webform_display_select()
  _webform_submit_select()
  theme_webform_display_select()
  _webform_analysis_select()
  _webform_table_select()
  _webform_csv_headers_select()
  _webform_csv_data_select()
  webform_select_options_ajax()
  _webform_select_options()
  _webform_select_options_info()
  _webform_select_options_callback()
  _webform_select_options_from_text()
  _webform_select_options_to_text()
  _webform_shuffle_options()

Functions
Functions that are not part of a class:

_webform_defaults_select()   X-Ref
Implementation of _webform_defaults_component().


_webform_theme_select()   X-Ref
Implementation of _webform_theme_component().


_webform_edit_select($component)   X-Ref
Implementation of _webform_edit_component().


_webform_edit_validate_select($element, &$form_state)   X-Ref
Element validation callback. Ensure keys are not duplicated.


_webform_edit_validate_options($element, &$form_state)   X-Ref
Set the appropriate webform values when using the options element module.


_webform_render_select($component, $value = NULL, $filter = TRUE)   X-Ref
Implementation of _webform_render_component().


webform_expand_checkboxes($element)   X-Ref
Drupal 6 hack that properly *renders* checkboxes in multistep forms. This is
different than the value hack needed in Drupal 5, which is no longer needed.


webform_checkbox_value($form, $edit = FALSE)   X-Ref
Helper function to determine the value for a checkbox form element.

Drupal core cannot decern the difference between an unchecked checkbox and
a checked checkbox that has a value of '0'. This value callback will return
NULL instead of an integer 0 for checkboxes that are not checked.


webform_expand_select_ids($element)   X-Ref
FAPI process function to rename IDs attached to checkboxes and radios.


_webform_display_select($component, $value, $format = 'html')   X-Ref
Implementation of _webform_display_component().


_webform_submit_select($component, $value)   X-Ref
Implementation of _webform_submit_component().

Convert FAPI 0/1 values into something saveable.

theme_webform_display_select($element)   X-Ref
Format the text output for this component.


_webform_analysis_select($component, $sids = array()   X-Ref
Implementation of _webform_analysis_component().


_webform_table_select($component, $value)   X-Ref
Implementation of _webform_table_component().


_webform_csv_headers_select($component, $export_options)   X-Ref
Implementation of _webform_csv_headers_component().


_webform_csv_data_select($component, $export_options, $value)   X-Ref
Implementation of _webform_csv_data_component().


webform_select_options_ajax($source_name = '')   X-Ref
Menu callback; Return a predefined list of select options as JSON.


_webform_select_options($component, $flat = FALSE, $filter = TRUE)   X-Ref
Generate a list of options for a select list.


_webform_select_options_info()   X-Ref
Load Webform select option info from 3rd party modules.


_webform_select_options_callback($name, $component, $flat = FALSE, $filter = TRUE)   X-Ref
Execute a select option callback.

param: $name
param: $component
param: $flat
param: $filter

_webform_select_options_from_text($text, $flat = FALSE, $filter = TRUE)   X-Ref
Utility function to split user-entered values from new-line seperated
text into an array of options.

param: $text
param: $flat
param: $filter

_webform_select_options_to_text($options)   X-Ref
Convert an array of options into text.


_webform_shuffle_options(&$array)   X-Ref
Utility function to shuffle an array while preserving key-value pairs.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7