| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 646 lines (20 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| ctools_ajax_sample_menu() X-Ref |
| Implementation of hook_menu() |
| ctools_ajax_sample_theme() X-Ref |
| Implementation of hook_theme() Render some basic output for this module. |
| ctools_ajax_sample_page() X-Ref |
| Page callback to display links and render a container for AJAX stuff. |
| ctools_ajax_sample_hello($js = NULL) X-Ref |
| Returns a "take it all over" hello world style request. |
| ctools_ajax_sample_tablenix($js, $row) X-Ref |
| Nix a row from a table and restripe. |
| ctools_ajax_sample_login($js = NULL) X-Ref |
| A modal login callback. |
| ctools_ajax_sample_login_success($js, $action) X-Ref |
| Post-login processor: should we go to the user account or stay in place? |
| ctools_ajax_sample_animal($js = NULL, $step = NULL) X-Ref |
| A modal login callback. |
| theme_ctools_ajax_sample_container($content) X-Ref |
| Theme function for main rendered output. |
| ctools_ajax_sample_animals() X-Ref |
| Get a list of our animals and associated forms. What we're doing is making it easy to add more animals in just one place, which is often how it will work in the real world. If using CTools, what you would probably really have, here, is a set of plugins for each animal. |
| ctools_ajax_sample_cache_set($id, $object) X-Ref |
| Store our little cache so that we can retain data from form to form. |
| ctools_ajax_sample_cache_get($id) X-Ref |
| Get the current object from the cache, or default. |
| ctools_ajax_sample_cache_clear($id) X-Ref |
| Clear the wizard cache. |
| ctools_ajax_sample_wizard_next(&$form_state) X-Ref |
| Handle the 'next' click on the add/edit pane form wizard. All we need to do is store the updated pane in the cache. |
| ctools_ajax_sample_wizard_finish(&$form_state) X-Ref |
| Handle the 'finish' click on teh add/edit pane form wizard. All we need to do is set a flag so the return can handle adding the pane. |
| ctools_ajax_sample_wizard_cancel(&$form_state) X-Ref |
| Handle the 'cancel' click on the add/edit pane form wizard. |
| ctools_ajax_sample_start(&$form, &$form_state) X-Ref |
| Wizard start form. Choose an animal. |
| ctools_ajax_sample_start_submit(&$form, &$form_state) X-Ref |
| They have selected a sheep. Set it. |
| ctools_ajax_sample_configure_sheep(&$form, &$form_state) X-Ref |
| Wizard form to configure your sheep. |
| ctools_ajax_sample_configure_sheep_submit(&$form, &$form_state) X-Ref |
| Submit the sheep and store the values from the form. |
| ctools_ajax_sample_show_sheep($object) X-Ref |
| Provide some output for our sheep. |
| ctools_ajax_sample_configure_lizard(&$form, &$form_state) X-Ref |
| Wizard form to configure your lizard. |
| ctools_ajax_sample_configure_lizard_submit(&$form, &$form_state) X-Ref |
| Submit the lizard and store the values from the form. |
| ctools_ajax_sample_show_lizard($object) X-Ref |
| Provide some output for our raptor. |
| ctools_ajax_sample_configure_raptor(&$form, &$form_state) X-Ref |
| Wizard form to configure your raptor. |
| ctools_ajax_sample_configure_raptor_submit(&$form, &$form_state) X-Ref |
| Submit the raptor and store the values from the form. |
| ctools_ajax_sample_show_raptor($object) X-Ref |
| Provide some output for our raptor. |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |