API17:JTableNested::delete
From Joomla! Documentation
JTableNested::delete
Description
Method to delete a node, and optionally its child nodes, from the table.
public function delete (
$pk=null
$children=true
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pk | integer | null | The primary key of the node to delete. |
| $children | boolean | true | True to delete child nodes, false to move them up a level. |
- Returns boolean True on success.
- Defined on line 503 of libraries/joomla/database/tablenested.php
- Since

See also
JTableNested::delete source code on BitBucket
Class JTableNested
Subpackage Database- Other versions of JTableNested::delete
User contributed notes
Code Examples