You are here

public function hostingService::view in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 server/hosting_server.service.inc \hostingService::view()
  2. 7.3 server/hosting_server.service.inc \hostingService::view()
4 calls to hostingService::view()
hostingService_db_mysql::view in db_server/hosting_db_server.service.inc
hostingService_dns_master::view in dns/hosting_dns.service.inc
hostingService_example_basic::view in example/hosting_example.service.inc
Display settings on the server node page.
hostingService_http_ssl::view in web_server/ssl/hosting_ssl.service.inc
6 methods override hostingService::view()
hostingService_db_mysql::view in db_server/hosting_db_server.service.inc
hostingService_dns_master::view in dns/hosting_dns.service.inc
hostingService_example_basic::view in example/hosting_example.service.inc
Display settings on the server node page.
hostingService_http_cluster::view in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::view in web_pack/hosting_web_pack.service.inc

... See full list

File

server/hosting_server.service.inc, line 112

Class

hostingService

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),
    );
  }
}