multipage_form_example.module
Версия 1.8 (checked in on 2006/04/08 at 03:35:39 by drumm)
Функции
Имя | Описание |
---|---|
expand_hidden_array | |
multipage_form_example_access | Реализация метода hook_access() |
multipage_form_example_custom_submit | |
multipage_form_example_custom_validate | Validate our form. |
multipage_form_example_delete | Реализация hook_delete(). |
multipage_form_example_elements | Playing around here with a new form element to enable storing hidden values in an array fashion. Seems to work fine. Check out $form['test_hidden_array'] above for how to structure the form element |
multipage_form_example_form | Implementation of hook_form() for multipage_form_example. We don't set ANY #required attributes here - we leave that up to multipage_form_example_pre_render(). |
multipage_form_example_form_alter | Implementation of hook_form_alter(). Here, we set up the 'page' field, which keeps track of what stage the form is in. |
multipage_form_example_help | Реализация hook_help(). |
multipage_form_example_load | Implementation of hook_load(). |
multipage_form_example_menu | Реализация hook_menu(). |
multipage_form_example_node_info | Реализация hook_node_info(). |
multipage_form_example_pre_render | The #pre_render of a form allows us to make changes AFTER validation (unlike hook_form_alter()), but BEFORE the form has actually been displayed. We use it to control which form elements are shown, which are hidden, and which values to set based on... |
multipage_form_example_view | Реализация hook_view(). |
multipage_form_restore_attributes | Restore any form attributes which have been set using multipage_form_set_attribute(). |
multipage_form_set_attribute | Set an attribute on an element array with storing the previous value which may be reverted to using multipage_form_restore_attributes(). |
multipage_form_set_element_visibility | Set an element's visibility. Elements are gnerally changed to hidden elements. Visibility may be set and reset any number of times. |
theme_hidden_array | |
theme_multipage_form_example | A custom theme function. |
theme_multipage_form_example_node_form |