public function hostingService::context_import in Hosting 7.3
Same name and namespace in other branches
- 6.2 server/hosting_server.service.inc \hostingService::context_import()
- 7.4 server/hosting_server.service.inc \hostingService::context_import()
2 calls to hostingService::context_import()
- hostingService_db_mysql::context_import in db_server/
hosting_db_server.service.inc - hostingService_http_ssl::context_import in web_server/
ssl/ hosting_ssl.service.inc
3 methods override hostingService::context_import()
File
- server/
hosting_server.service.inc, line 213 - Define the base Hosting service class.
Class
- hostingService
- @file Define the base Hosting service 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'};
}
}