| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 567 lines (19 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| module_builder_init() X-Ref |
| Implementation of hook_init(). |
| module_builder_perm() X-Ref |
| Implementation of hook_perm(). |
| module_builder_menu() X-Ref |
| Implementation of hook_menu(). |
| module_builder_theme($existing, $type, $theme, $path) X-Ref |
| Implementation of hook_theme. |
| _module_builder_save_old_form_values($form, $form_values, $indent='') X-Ref |
| This still needs some work. Set a bunch of check boxes, forward, back, uncheck the boxes, forward and back and the boxes get turned back on for some reason. Otherwise this seems pretty good. |
| Xmodule_builder_page_input($form, $form_values) X-Ref |
| Module form: 'input' step. Collect module data. |
| Xmodule_builder_page_module($form, $form_values) X-Ref |
| Module form: 'module' step. Generate the module code. |
| Xmodule_builder_page_download($form, $form_values) X-Ref |
| Module form: 'download' step. Download the files. |
| Xmodule_builder_write_buttons($form) X-Ref |
| Form after build callback. If update button was clicked, update hooks documentation. Rest of form is not submitted. Cribbed from node_form_add_preview() |
| _module_builder_write_file($basename, $extension, $content) X-Ref |
| Helper function to write files saves moving this code while mucking about with different formsAPI approaches & quicker to shortcircuit |
| Xmodule_builder_page_write($form, $form_values) X-Ref |
| Module form: 'write' step |
| Xmodule_builder_page_validate($form, &$form_state) X-Ref |
| Makes sure that valid values have been provided to the Module Builder. |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |