function hostingService_dns_master::view in Hostmaster (Aegir) 6
Overrides hostingService::view
File
- modules/
hosting/ dns/ hosting_dns.service.inc, line 20 - Provide the hosting serivce classes for DNS integration.
Class
- hostingService_dns_master
- Helper class to factor together master functionality
Code
function view(&$render) {
parent::view($render);
if (sizeof($this->slave_servers)) {
$render['slave_servers'] = array(
'#type' => 'item',
'#title' => t('Slave servers'),
'#value' => theme('item_list', array_map('_hosting_node_link', array_intersect_key($this->slave_servers, hosting_get_servers('dns')))),
);
}
}