You are here

public function hostingService::setValues in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 server/hosting_server.service.inc \hostingService::setValues()
  2. 7.3 server/hosting_server.service.inc \hostingService::setValues()
5 calls to hostingService::setValues()
hostingService::mergeData in server/hosting_server.service.inc
hostingService::__construct in server/hosting_server.service.inc
hostingService_dns_master::load in dns/hosting_dns.service.inc
hostingService_http_cluster::load in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::load in web_pack/hosting_web_pack.service.inc

File

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