function hostingService_http_pack::view in Hosting 6.2
Same name and namespace in other branches
- 7.4 web_pack/hosting_web_pack.service.inc \hostingService_http_pack::view()
- 7.3 web_pack/hosting_web_pack.service.inc \hostingService_http_pack::view()
Overrides hostingService::view
File
- web_pack/
hosting_web_pack.service.inc, line 8
Class
Code
function view(&$render) {
$render['master_servers'] = array(
'#type' => 'item',
'#title' => t('Master web servers'),
'#value' => theme('item_list', array_map('_hosting_node_link', array_intersect_key($this->master_servers, hosting_get_servers('http')))),
);
$render['slave_servers'] = array(
'#type' => 'item',
'#title' => t('Slave web servers'),
'#value' => theme('item_list', array_map('_hosting_node_link', array_intersect_key($this->slave_servers, hosting_get_servers('http')))),
);
}