bool
DB_NestedSet::deleteNode
(
int
$id
)
This package is not documented yet.
$id
ID of the node to be deleted
returns True if the delete succeeds
throws no exceptions thrown
This function can not be called statically.
Delete nodes
<?php
require_once('DB/NestedSet.php');
$nestedSet =& DB_NestedSet::factory('DB', $dsn, $params);
$nestedSet->createRootNode(array('name' => 'root-node'), false, true);
$nestedSet->deleteNode($id);
?>