JTableNested::delete/11.1
From Joomla! Documentation
JTableNested::delete
Description
Method to delete a node, and optionally its child nodes, from the table.
Description:JTableNested::delete [Edit Descripton]
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
SeeAlso:JTableNested::delete [Edit See Also]