You are here

public function hostingService::load in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 server/hosting_server.service.inc \hostingService::load()
  2. 7.3 server/hosting_server.service.inc \hostingService::load()
5 calls to hostingService::load()
hostingService_db_mysql::load in db_server/hosting_db_server.service.inc
hostingService_example_basic::load in example/example_service/hosting_example.service.inc
Load associated values for the service.
hostingService_http_cluster::load in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::load in web_pack/hosting_web_pack.service.inc
hostingService_http_ssl::load in web_server/ssl/hosting_ssl.service.inc
5 methods override hostingService::load()
hostingService_db_mysql::load in db_server/hosting_db_server.service.inc
hostingService_example_basic::load in example/example_service/hosting_example.service.inc
Load associated values for the service.
hostingService_http_cluster::load in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::load in web_pack/hosting_web_pack.service.inc
hostingService_http_ssl::load in web_server/ssl/hosting_ssl.service.inc

File

server/hosting_server.service.inc, line 50
Define the base Hosting service class.

Class

hostingService
@file Define the base Hosting service class.

Code

public function load() {
  $this
    ->mergeData("SELECT port, restart_cmd, available\n                      FROM {hosting_service}\n                      WHERE vid = :vid\n                      AND type = :type", array(
    ':vid' => $this->server->vid,
    ':type' => $this->type,
  ));
}