src/Liip/Drupal/Modules/DrupalConnector/Node.php
public function node_save(&$node)
    {
        try {
            node_save($node);
        } catch (\Exception $e) {
            throw new NodeException(
                sprintf(NodeException::FailedToSaveNodeText, $node->nid),
                NodeException::FailedToSaveNode,
                $e->getCode(),
                $e
            );
        }
    }
public function node_save(&$node)
    {
        try {
            node_save($node);
        } catch (\Exception $e) {
            throw new NodeException(
                sprintf(NodeException::FailedToSaveNodeText, $node->nid),
                NodeException::FailedToSaveNode,
                $e->getCode(),
                $e
            );
        }
    }
public function node_save ( & $ node ) { try { node_save ( $ node ) ; } catch ( \ Exception $ e ) { throw new NodeException ( sprintf ( NodeException :: FailedToSaveNodeText , $ node -> nid ) , NodeException :: FailedToSaveNode , $ e -> getCode ( ) , $ e ) ; } }
Save changes to a node or add a new node.

@param \stdClass &$node The $node object to be saved. If $node->nid is omitted (or $node->is_new is TRUE), a new node will be added.

@throws \Liip\Drupal\Modules\DrupalConnector\NodeException in case the node could not be persisted.

@link http://api.drupal.org/api/drupal/modules!node!node.module/function/node_save/7
Save changes to a node or add a new node .