You are here

public function hostingService::setValues in Hostmaster (Aegir) 6

5 calls to hostingService::setValues()
hostingService::mergeData in modules/hosting/server/hosting_server.service.inc
hostingService::__construct in modules/hosting/server/hosting_server.service.inc
hostingService_dns_master::load in modules/hosting/dns/hosting_dns.service.inc
hostingService_http_cluster::load in modules/hosting/web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::load in modules/hosting/web_pack/hosting_web_pack.service.inc

File

modules/hosting/server/hosting_server.service.inc, line 30

Class

hostingService

Code

public function setValues($values = null) {
  if (is_array($values)) {
    foreach ($values as $key => $value) {
      $this->{$key} = $value;
    }
  }
}