public function hostingService::context_import in Hostmaster (Aegir) 6
2 calls to hostingService::context_import()
- hostingService_db_mysql::context_import in modules/
hosting/ db_server/ hosting_db_server.service.inc - hostingService_http_ssl::context_import in modules/
hosting/ web_server/ ssl/ hosting_ssl.service.inc
2 methods override hostingService::context_import()
- hostingService_db_mysql::context_import in modules/
hosting/ db_server/ hosting_db_server.service.inc - hostingService_http_ssl::context_import in modules/
hosting/ web_server/ ssl/ hosting_ssl.service.inc
File
- modules/
hosting/ server/ hosting_server.service.inc, line 153
Class
Code
public function context_import($context) {
$this->available = 1;
if ($this->has_port) {
$this->port = $context->{$this->service . '_port'};
}
if ($this->has_restart_cmd) {
$this->restart_cmd = $context->{$this->service . '_restart_cmd'};
}
}