JTableNested::delete
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JTableNested::delete[edit]
Description[edit]
Method to delete a node, and optionally its child nodes, from the table.
Template:Description:JTableNested::delete [Edit Descripton]
Since[edit]
Synopsis[edit]
public JTableNested::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[edit]
boolean True on success.
Defined in[edit]
libraries/joomla/database/tablenested.php (line 495)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JTableNested::delete
Examples[edit]
<CodeExamplesForm />