You are here

function hosting_task_ajax_queue in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 task/hosting_task.module \hosting_task_ajax_queue()
  2. 7.3 task/hosting_task.module \hosting_task_ajax_queue()
1 string reference to 'hosting_task_ajax_queue'
hosting_task_menu in task/hosting_task.module
Implementation of hook_menu().

File

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

Code

function hosting_task_ajax_queue() {
  $view = views_get_view('hosting_task_list');
  $view
    ->set_display('block');
  $view
    ->pre_execute();
  $return['markup'] = $view
    ->render('block');
  drupal_json($return);
  exit;
}