generate_info |
./module_builder.module |
|
1 |
|
generate_module |
./module_builder.module |
|
1 |
1 |
module_builder_admin_settings |
./module_builder.module |
Implementation of hook_settings(). |
|
1 |
module_builder_extract_hook_data |
./module_builder.module |
Extracts hook information based on type parameter. |
1 |
|
module_builder_get_doc_files |
./module_builder.module |
Retrieve list of documentation files containing hook definitions. |
1 |
|
module_builder_get_hook_data |
./module_builder.module |
Retrieves hook data from downloaded files. |
2 |
|
module_builder_menu |
./module_builder.module |
Implementation of hook_menu(). |
|
|
module_builder_page |
./module_builder.module |
Displays module builder interface via a multi-step form.
The steps are: |
|
1 |
module_builder_page_download |
./module_builder.module |
Module form: 'download' step. Download the files. |
1 |
|
module_builder_page_input |
./module_builder.module |
Module form: 'input' step. Collect module data. |
1 |
|
module_builder_page_module |
./module_builder.module |
Module form: 'module' step. Generate the module code. |
1 |
|
module_builder_page_validate |
./module_builder.module |
Makes sure that valid values have been provided to the Module Builder. |
|
|
module_builder_parse_template |
./module_builder.module |
Parse a module_builder template file. |
2 |
|
module_builder_perm |
./module_builder.module |
Implementation of hook_perm(). |
|
|
module_builder_update_button |
./module_builder.module |
Form after_build handler.
If update button was clicked, update hooks documentation. Rest of form is not submitted.
Cribbed from node_form_add_preview() |
|
1 |
module_builder_update_documentation |
./module_builder.module |
Initiates documentation upate routine. |
1 |
|
module_builder_write_buttons |
./module_builder.module |
Form after build callback.
If update button was clicked, update hooks documentation. Rest of form is not submitted.
Cribbed from node_form_add_preview() |
|
1 |
theme_module_builder_hook_list |
./module_builder.module |
Theme function for hook list |
|
|
Xmodule_builder_page_write |
./module_builder.module |
Module form: 'write' step |
|
|
_module_builder_check_directory |
./module_builder.module |
Tediously required helper function to create a full directory that has more than one
depth to be created. Filched from CCK. |
1 |
|
_module_builder_check_settings |
./module_builder.module |
Create a directory to store hook files if it does not exist. |
1 |
|
_module_builder_save_old_form_values |
./module_builder.module |
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. |
1 |
|
_module_builder_write_file |
./module_builder.module |
Helper function to write files
saves moving this code while mucking about with different formsAPI approaches & quicker to shortcircuit |
2 |
|