Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
1.40 (checked in on 2008/03/03 at 16:44:26 by wimleers)
This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select an option in a hierarchy.
| Name | Description |
|---|---|
| hierarchical_select_admin_settings | Form definition; admin settings. |
| hierarchical_select_elements | Implementation of hook_elements(). |
| hierarchical_select_form_alter | Implementation of hook_form_alter(). |
| hierarchical_select_get_dropbox | Generate the dropbox object. |
| hierarchical_select_get_hierarchy | Generate the hierarchy object. |
| hierarchical_select_json | Menu callback; JSON callback: generates and outputs the appropriate HTML. |
| hierarchical_select_menu | Implementation of hook_menu(). |
| hierarchical_select_process | Hierarchical select form element processing function. |
| theme_hierarchical_select_dropbox_add_button | Render the add button. |
| theme_hierarchical_select_render_dropbox | Render the dropbox. |
| theme_hierarchical_select_render_initial_html | Render the initial hierarchical select. |
| theme_hierarchical_select_render_selects | Render the selects. |
| _hierarchial_select_enforce_deepest_selection | Helper function to update the lineage of the hierarchy to ensure that the user selects an item in the deepest level of the hierarchy. |
| _hierarchical_select_dropbox_lineage_item_get_label | Helper function needed for the array_map() call in the dropbox sorting callback. |
| _hierarchical_select_dropbox_lineage_item_get_value | Helper function needed for the array_map() call in the dropbox lineages selections creation. |
| _hierarchical_select_dropbox_sort | Dropbox lineages sorting callback. |
| _hierarchical_select_extract_settings | Helper function to extract the settings from a form item. |
| _hierarchical_select_reconstruct_lineages_save_lineage_enabled | Helper function to reconstruct the lineages given a set of selected items and the fact that the "save lineage" option is enabled. |
| _hierarchical_select_str_to_bool | Convert a "true" or "false" string into the corresponding boolean value, while ignoring the case. |
| _hierarchical_select_validate | Hierarchical select form element validate callback. |
| _hierarchical_select_validate_selection | Reset the selection if no valid item was selected. If an array is passed (this happens when the "save lineage" option is enabled), then the first item in the array corresponds to the first selected term. As soon as an invalid item is... |
| _hierarchical_select_views_exposed_filters_reposition | Helper function that adds the JS to reposition the exposed filters of a View just once. |