| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 691 lines (22 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| form_manager_admin() X-Ref |
| Callback function from hook_menu to display admin options. return: |
| _form_manager_list_forms() X-Ref |
| Helper function to list the forms of all available forms. When the same form exists in multiple locations (file, db, etc), the following precedence is used to return the form once: - file - Form Manager table (database) - Form Builder cache (temporary storage) return: |
| _form_manager_list_forms_by_type($type = 'file') X-Ref |
| Helper function to list the forms of a given source of a given type (file, database, etc). param: $type return: |
| form_manager_export_form($form, $form_id) X-Ref |
| form function for exporting an entire FAPI array. |
| form_manager_export_form_page($form_id) X-Ref |
| Menu callback for exporting an entire FAPI array. param: $form_id return: |
| form_manager_export($form) X-Ref |
| No description |
| form_manager_export_recurse($form, $parents = array() X-Ref |
| Recursive function for pretty-printing of FAPI arrays. |
| form_manager_export_variable_name($parents, $form = array() X-Ref |
| No description |
| form_manager_reset_element_keys(&$form) X-Ref |
| Look for element_name and change the Form Builder default key name to this value. This really just makes a copy of the sub-array with the new key name, and unsets the original sub-array. It also unsets the element_name element just to make sure this doesn't act multiple times on the same element. |
| form_manager_edit($form_type, $form_id) X-Ref |
| Main form building interface. Can be used as a menu callback. param: $form_type param: $form_id |
| _form_manager_load_form($form_type, $form_id) X-Ref |
| No description |
| form_manager_edit_actions() X-Ref |
| Form function to generate some options below the Form Builder set of forms to: - Save -- Copies the Form Builder cache into the Form Manager table (after making some slight alterations) - Export -- Generates a FAPI-appropriate array to copy - Cancel -- Cancel the form changes and go back to the main admin page |
| form_manager_edit_actions_submit(&$form, &$form_values) X-Ref |
| Implementation of hook_submit to handle the form_manager_edit_actions form. |
| _form_manager_edit_actions_submit_save($values) X-Ref |
| Helper function to save the form sent to form_manager_edit_actions_submit() |
| form_manager_confirm_delete(&$form_state) X-Ref |
| confirm_delete function Confirm that the admin wants to delete the given form |
| form_manager_confirm_delete_submit($form, &$form_state) X-Ref |
| Form submit handler for the confirm delete form. Handles deletion of the specified form from the database. |
| form_manager_add() X-Ref |
| Form function to allow admin users to create a new form from scratch. |
| form_manager_add_validate($form, &$form_state) X-Ref |
| form_manager_add_submit($form, &$form_state) X-Ref |
| Submit handler for add form function |
| form_manager_admin_exportable($formid = FALSE) X-Ref |
| No description |
| form_manager_admin_import() X-Ref |
| No description |
| form_manager_admin_import_validate(&$form, &$form_state) X-Ref |
| Make sure that an import actually provides a handler. |
| form_manager_admin_import_submit(&$form, &$form_state) X-Ref |
| Save the imported object. |
| form_manager_admin_import_save($formmanager) X-Ref |
| No description |
| form_manager_formid_exists($formid) X-Ref |
| No description |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |