You are here

function hostingService_http_cluster::context_options in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 web_cluster/hosting_web_cluster.service.inc \hostingService_http_cluster::context_options()
  2. 7.4 web_cluster/hosting_web_cluster.service.inc \hostingService_http_cluster::context_options()

Overrides hostingService::context_options

File

web_cluster/hosting_web_cluster.service.inc, line 80

Class

hostingService_http_cluster

Code

function context_options($task_type, $ref_type, &$task) {
  parent::context_options($task_type, $ref_type, $task);
  $task->context_options['cluster_web_servers'] = implode(',', array_values(array_map('hosting_context_name', array_intersect_key($this->web_servers, hosting_get_servers('http')))));
}