| DB_NestedSet::createRightNode (Previous) | (Next) DB_NestedSet::createSubNode | ||||
| |
|||||
|
|||||
Optionally it deletes the whole tree and creates one initial rootnode
+-- root1 [target]
|
+-- root2 [new]
|
+-- root3
Hash with param => value pairs of the node (see $this->params)
ID of target node (the rootnode after which the node should be inserted)
Danger: Deletes and (re)inits the whole tree - sequences are reset
The position in which to insert the new node.
Beispiel 39-1. Create rootnodes
|
| DB_NestedSet::createRightNode (Previous) | (Next) DB_NestedSet::createSubNode | ||||||||
| |
|||||||||
|
|||||||||