function search_api_ajax_debug in Search API ajax 7
Collects debug data to send to the browser with the AJAX response.
Parameters
mixed $data Debug data you want to send to the browser.:
1 call to search_api_ajax_debug()
- search_api_ajax_return_json in ./
search_api_ajax.pages.inc - Performs a search request and returns page & block content html as JSON
File
- ./
search_api_ajax.module, line 310 - AJAXifies the Search API search pages, links, ranges, sorts and forms.
Code
function search_api_ajax_debug($data = NULL) {
static $debug = array();
if (isset($data)) {
$debug[] = $data;
}
return $debug;
}