function hostingService_dns_master::view in Hosting 6.2
Overrides hostingService::view
File
- 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')))),
);
}
}