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_validateValidate our form.
multipage_form_example_deleteРеализация hook_delete().
multipage_form_example_elementsPlaying 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_formImplementation 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_alterImplementation 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_loadImplementation of hook_load().
multipage_form_example_menuРеализация hook_menu().
multipage_form_example_node_infoРеализация hook_node_info().
multipage_form_example_pre_renderThe #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_attributesRestore any form attributes which have been set using multipage_form_set_attribute().
multipage_form_set_attributeSet 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_visibilitySet 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_exampleA custom theme function.
theme_multipage_form_example_node_form
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему