You are here

function hosting_task_ajax_command_hosting_table_append in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 task/hosting_task.module \hosting_task_ajax_command_hosting_table_append()

Prepare a JS command array for AJAX to append to a hosting task log table.

Parameters

string $selector: HTML css selector of the table to append entries to.

string $html: HTML table of rows to append.

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_append()
hosting_task_log_ajax in task/hosting_task.module
Read additional task log data, served via AJAX.

File

task/hosting_task.module, line 161
Web server node type is defined here.

Code

function hosting_task_ajax_command_hosting_table_append($selector, $html, $settings = NULL) {
  return array(
    'command' => 'hosting_table_append',
    'selector' => $selector,
    'data' => $html,
    'settings' => $settings,
  );
}