| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 238 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| ctools_modal_add_js() X-Ref |
| ctools_modal_add_plugin_js($plugins) X-Ref |
| ctools_modal_command_display($title, $html) X-Ref |
| Place HTML within the modal. param: $title param: $html |
| ctools_modal_command_dismiss() X-Ref |
| Dismiss the modal. |
| ctools_modal_command_loading() X-Ref |
| Display loading screen in the modal |
| ctools_modal_image_button($image, $dest, $alt, $class = '') X-Ref |
| Render an image as a button link. This will automatically apply an AJAX class to the link and add the appropriate javascript to make this happen. param: $image param: $dest param: $alt param: $class |
| ctools_modal_text_button($text, $dest, $alt, $class = '') X-Ref |
| Render text as a link. This will automatically apply an AJAX class to the link and add the appropriate javascript to make this happen. Note: 'html' => true so be sure any text is vetted! Chances are these kinds of buttons will not use user input so this is a very minor concern. param: $image param: $dest param: $alt param: $class |
| ctools_modal_form_wrapper($form_id, &$form_state) X-Ref |
| Wrap a form so that we can use it properly with AJAX. Essentially if the form wishes to render, it automatically does that, otherwise it returns so we can see submission results. return: |
| ctools_modal_form_render($form_state, $output) X-Ref |
| Render a form into an AJAX display. |
| ctools_modal_render($title, $output) X-Ref |
| Perform a simple modal render and immediately exit. This is primarily used for error displays, since usually modals will contain forms. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |