CategoriesTableCategory::delete
Method to delete a node and, optionally, its child nodes from the table.
Signature
public function delete([integer
$pk = null,
[boolean
$children = false]] )
Parameters
-
$pk
- The primary key of the node to delete.
-
$children
- True to delete child nodes, false to move them up a level.
Returns
- boolean
- True on success.