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