Contributions API

optionwidgets.module

Version

1.61 (checked in on 2008/04/23 at 18:02:29 by dww)

Functions

Namesort iconDescription
optionwidgets_buttons_processProcess an individual element.
optionwidgets_data2formHelper function to transpose the values as stored in the database to the format the widget needs. Can be called anywhere this transformation is needed.
optionwidgets_elementsImplementation of FAPI hook_elements().
optionwidgets_form2dataHelper function to transpose the values returned by submitting the widget to the format to be stored in the field. Can be called anywhere this transformation is needed.
optionwidgets_form_alter@file Defines selection, check box and radio button widgets for text and numeric fields.
optionwidgets_onoff_processProcess an individual element.
optionwidgets_optionsHelper function for finding the allowed values list for a field.
optionwidgets_select_processProcess an individual element.
optionwidgets_themeImplementation of hook_theme().
optionwidgets_validateFAPI function to validate optionwidgets element.
optionwidgets_widgetImplementation of hook_widget().
optionwidgets_widget_infoImplementation of hook_widget_info().
theme_optionwidgets_buttons
theme_optionwidgets_noneTheme the label for the empty value for options that are not required. The default theme will display N/A for a radio list and blank for a select.
theme_optionwidgets_onoff
theme_optionwidgets_selectFAPI themes for optionwidgets.