function hosting_task_ajax_command_hosting_table_check in Hosting 7.3
Same name and namespace in other branches
- 7.4 task/hosting_task.module \hosting_task_ajax_command_hosting_table_check()
Prepare a JS command array for AJAX to poll for additional log entries.
Parameters
string $selector: HTML css selector of the log entries table.
string $url: URL to poll for changes.
array $settings: Extra settings to add to Drupal.settings.
Return value
array A JS command array.
1 call to hosting_task_ajax_command_hosting_table_check()
- hosting_task_log_ajax in task/
hosting_task.module - Read additional task log data, served via AJAX.
File
- task/
hosting_task.module, line 183 - Web server node type is defined here.
Code
function hosting_task_ajax_command_hosting_table_check($selector, $url, $settings = NULL) {
return array(
'command' => 'hosting_table_check',
'selector' => $selector,
'url' => $url,
'settings' => $settings,
);
}