public function HostingNode::save in Aegir Objects 7.3
Save the node.
File
- classes/
HostingNode.inc, line 66 - The HostingNode class.
Class
- HostingNode
- @file The HostingNode class.
Code
public function save() {
$this->node = node_submit($this->node);
node_save($this->node);
return $this->node->nid;
}