You are here

public function hostingService::setValues in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 server/hosting_server.service.inc \hostingService::setValues()
  2. 7.3 server/hosting_server.service.inc \hostingService::setValues()
4 calls to hostingService::setValues()
hostingService::mergeData in server/hosting_server.service.inc
hostingService::__construct in server/hosting_server.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 67
Define the base Hosting service class.

Class

hostingService
@file Define the base Hosting service class.

Code

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