| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 324 lines (10 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| form_manager_form(&$form_state, $form_id) X-Ref |
| Transform the single-step form into a mult-step form by breaking apart the outer-layer of fieldsets (leaving nested fieldsets alone). Adds the necesary steps, storage, etc. to make it perform as a typical multi-step form. param: $form_state return: |
| _form_manager_form(&$form, &$form_state) X-Ref |
| No description |
| _form_manager_form_add_fields(&$form, &$form_state, $form_id = '') X-Ref |
| No description |
| form_manager_get_form(&$form = array() X-Ref |
| No description |
| _form_manager_form_max_steps($form, &$form_state) X-Ref |
| Helper function to get the max number of steps in the forms, so that #navigation can keep track of where the user is at and give prev/next buttons accordingly. |
| _form_manager_form_create_tabs(&$form, &$form_state) X-Ref |
| No description |
| _form_manager_form_remove_fields(&$form, &$form_state) X-Ref |
| Helper function to remove all form elements that aren't part of the current "page" |
| _form_manager_form_remove_fieldsets(&$form, &$form_state) X-Ref |
| Helper function to add remove the current page's fieldset wrapper so that only the form elements are presented to the user. If the top-level field element is a fieldset, loop through it to find all the children (and not properties, throw those away) and add those directly to the form. Then unset the fieldset once the children are safely removed. |
| _form_manager_form_default_values(&$form, &$form_state, $parent = NULL) X-Ref |
| Helper function to add the default values to the current form's page if the user has submitted anything. This is taken from form_state[storage']. |
| _form_manager_form_add_tabs(&$form, &$form_state) X-Ref |
| No description |
| _form_manager_form_add_buttons(&$form, &$form_state) X-Ref |
| No description |
| _form_manager_form_add_file_support(&$form, &$form_state) X-Ref |
| Helper function to add file support to the form |
| form_manager_set_hidden_values(&$form, &$form_state, $form_id) X-Ref |
| No description |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |