You are here

public function hostingService::save in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 server/hosting_server.service.inc \hostingService::save()
  2. 7.4 server/hosting_server.service.inc \hostingService::save()
1 call to hostingService::save()
hostingService::__construct in server/hosting_server.service.inc

File

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

Class

hostingService
@file Define the base Hosting service class.

Code

public function save($node) {
  if (isset($node->nid)) {
    $this->server_node = $node;
    $this->server = new stdClass();
    $this->server->nid = $node->nid;
    $this->server->vid = $node->vid;
    $this->server->title = $node->title;
  }
}