public function nodeCreate($node)
    {
        $this->dispatchHooks('BeforeNodeCreateScope', $node);
        $this->parseEntityFields('node', $node);
        $saved = $this->getDriver()->createNode($node);
        $this->dispatchHooks('AfterNodeCreateScope', $saved);
        $this->nodes[] = $saved;
        return $saved;
    }
public function nodeCreate($node)
    {
        $this->dispatchHooks('BeforeNodeCreateScope', $node);
        $this->parseEntityFields('node', $node);
        $saved = $this->getDriver()->createNode($node);
        $this->dispatchHooks('AfterNodeCreateScope', $saved);
        $this->nodes[] = $saved;
        return $saved;
    }
public function nodeCreate ( $ node ) { $ this -> dispatchHooks ( 'BeforeNodeCreateScope' , $ node ) ; $ this -> parseEntityFields ( 'node' , $ node ) ; $ saved = $ this -> getDriver ( ) -> createNode ( $ node ) ; $ this -> dispatchHooks ( 'AfterNodeCreateScope' , $ saved ) ; $ this -> nodes [ ] = $ saved ; return $ saved ; }
Create a node.

@return object
The created node.
Create a node .