public function hostingService::setValues

7.x-3.x hosting_server.service.inc public hostingService::setValues($record = NULL)

File

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

Class

hostingService

Code

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