DB_NestedSet::createRootNode | DB_NestedSet::deleteNode |
DB_NestedSet | |
PEAR Manual | |
require_once 'DB/NestedSet.php'; |
mixed
DB_NestedSet::createSubNode
(
integer
$id
,
array
$values
)
+-- root1
|
+-\ root2 [target]
| |
| |-- subnode1 [new]
|
+-- root3
Parent node ID
Hash with param => value pairs of the node (see $this->params)
returns The node id or false on error
throws no exceptions thrown
This function can not be called statically.
Create subnodes
|
DB_NestedSet::createRootNode | DB_NestedSet::deleteNode |
DB_NestedSet | |
PEAR Manual | |