public function hostingService::view in Hostmaster (Aegir) 6
4 calls to hostingService::view()
- hostingService_db_mysql::view in modules/
hosting/ db_server/ hosting_db_server.service.inc - hostingService_dns_master::view in modules/
hosting/ dns/ hosting_dns.service.inc - hostingService_example_basic::view in modules/
hosting/ example/ hosting_example.service.inc - Display settings on the server node page.
- hostingService_http_ssl::view in modules/
hosting/ web_server/ ssl/ hosting_ssl.service.inc
6 methods override hostingService::view()
- hostingService_db_mysql::view in modules/
hosting/ db_server/ hosting_db_server.service.inc - hostingService_dns_master::view in modules/
hosting/ dns/ hosting_dns.service.inc - hostingService_example_basic::view in modules/
hosting/ example/ hosting_example.service.inc - Display settings on the server node page.
- hostingService_http_cluster::view in modules/
hosting/ web_cluster/ hosting_web_cluster.service.inc - hostingService_http_pack::view in modules/
hosting/ web_pack/ hosting_web_pack.service.inc
File
- modules/
hosting/ server/ hosting_server.service.inc, line 112
Class
Code
public function view(&$render) {
if ($this->has_restart_cmd) {
$render['restart_cmd'] = array(
'#type' => 'item',
'#title' => t('Restart command'),
'#value' => filter_xss($this->restart_cmd),
);
}
if ($this->has_port) {
$render['port'] = array(
'#type' => 'item',
'#title' => t('Port'),
'#value' => filter_xss($this->port),
);
}
}