You are here

function hostingService_http_cluster::view in Hosting 7.4

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

Overrides hostingService::view

File

web_cluster/hosting_web_cluster.service.inc, line 13

Class

hostingService_http_cluster

Code

function view(&$render) {
  $render['web_servers'] = array(
    '#type' => 'item',
    '#title' => t('Web servers'),
    '#markup' => theme('item_list', array(
      'items' => array_map('_hosting_node_link', array_intersect_key($this->web_servers, hosting_get_servers('http'))),
    )),
  );
}