library/Garp/Model/Db/Chapter.php
protected function _insertContentNode(Garp_Util_Configuration $contentNodeData) {
        $contentNodeModel = new Model_ContentNode();
        $contentNodeId = $contentNodeModel->insert(array(
            'columns'    => $contentNodeData['columns'],
            'classes'    => $contentNodeData['classes'],
            'type'       => $contentNodeData['type'],
            'chapter_id' => $contentNodeData['chapter_id'],
        ));
        return $contentNodeId;
    }
protected function _insertContentNode(Garp_Util_Configuration $contentNodeData) {
        $contentNodeModel = new Model_ContentNode();
        $contentNodeId = $contentNodeModel->insert(array(
            'columns'    => $contentNodeData['columns'],
            'classes'    => $contentNodeData['classes'],
            'type'       => $contentNodeData['type'],
            'chapter_id' => $contentNodeData['chapter_id'],
        ));
        return $contentNodeId;
    }
protected function _insertContentNode ( Garp_Util_Configuration $ contentNodeData ) { $ contentNodeModel = new Model_ContentNode ( ) ; $ contentNodeId = $ contentNodeModel -> insert ( array ( 'columns' => $ contentNodeData [ 'columns' ] , 'classes' => $ contentNodeData [ 'classes' ] , 'type' => $ contentNodeData [ 'type' ] , 'chapter_id' => $ contentNodeData [ 'chapter_id' ] , ) ) ; return $ contentNodeId ; }
Insert new ContentNode record
@param Garp_Util_Configuration $contentNodeData
@return Int The primary key
Insert new ContentNode record