function ctools_ajax_render_error in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/ajax.inc \ctools_ajax_render_error()
Send an error response back via AJAX and immediately exit.
7 calls to ctools_ajax_render_error()
- ctools_access_ajax_add in includes/
context-access-admin.inc - AJAX callback to add a new access test to the list.
- ctools_access_ajax_delete in includes/
context-access-admin.inc - AJAX command to remove an access control item.
- ctools_access_ajax_edit in includes/
context-access-admin.inc - AJAX callback to edit an access test in the list.
- ctools_context_ajax_item_add in includes/
context-admin.inc - Ajax entry point to add an context
- ctools_context_ajax_item_delete in includes/
context-admin.inc - Ajax entry point to edit an item
File
- includes/
ajax.inc, line 550 - Utilize the CTools AJAX responder.
Code
function ctools_ajax_render_error($error = '') {
$commands = array();
$commands[] = ctools_ajax_command_error($error);
ctools_ajax_render($commands);
}