API17:JTableNested::delete
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JTableNested::delete ($pk=null, $children=true) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 35: | ||
boolean True on success. | boolean True on success. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/database/tablenested.php | + | libraries/joomla/database/tablenested.php (line 495) |
| + | * see source code in [[jplatform:database/tablenested.php#cl-495|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 21:24, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JTableNested::delete
Description
Method to delete a node, and optionally its child nodes, from the table.
Description:JTableNested::delete [Edit Descripton]
Since
Synopsis
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
boolean True on success.
Defined in
libraries/joomla/database/tablenested.php (line 495)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
