ajax.inc
ajax.inc
Functions for use with Drupal's Ajax framework.
File
includes/ajax.incFunctions
Name | Description |
---|---|
ajax_base_page_theme | Theme callback for Ajax requests. |
ajax_command_add_css | Creates a Drupal Ajax 'add_css' command. |
ajax_command_after | Creates a Drupal Ajax 'insert/after' command. |
ajax_command_alert | Creates a Drupal Ajax 'alert' command. |
ajax_command_append | Creates a Drupal Ajax 'insert/append' command. |
ajax_command_before | Creates a Drupal Ajax 'insert/before' command. |
ajax_command_changed | Creates a Drupal Ajax 'changed' command. |
ajax_command_css | Creates a Drupal Ajax 'css' command. |
ajax_command_data | Creates a Drupal Ajax 'data' command. |
ajax_command_html | Creates a Drupal Ajax 'insert/html' command. |
ajax_command_insert | Creates a Drupal Ajax 'insert' command using the method in #ajax['method']. |
ajax_command_invoke | Creates a Drupal Ajax 'invoke' command. |
ajax_command_prepend | Creates a Drupal Ajax 'insert/prepend' command. |
ajax_command_remove | Creates a Drupal Ajax 'remove' command. |
ajax_command_replace | Creates a Drupal Ajax 'insert/replaceWith' command. |
ajax_command_restripe | Creates a Drupal Ajax 'restripe' command. |
ajax_command_settings | Creates a Drupal Ajax 'settings' command. |
ajax_command_update_build_id | Creates a Drupal Ajax 'update_build_id' command. |
ajax_deliver | Packages and sends the result of a page callback as an Ajax response. |
ajax_footer | Performs end-of-Ajax-request tasks. |
ajax_form_callback | Menu callback; handles Ajax requests for the #ajax Form API property. |
ajax_get_form | Gets a form submitted via #ajax during an Ajax callback. |
ajax_prepare_response | Converts the return value of a page callback into an Ajax commands array. |
ajax_pre_render_element | Adds Ajax information about an element to communicate with JavaScript. |
ajax_process_form | Form element processing handler for the #ajax form property. |
ajax_render | Renders a commands array into JSON. |
ajax_set_verification_header | Sets a response header for ajax.js to trust the response body. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!ajax.inc/7.x