JTableNested::delete
From Joomla! Documentation
Revision as of 21:42, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→See also: moving preparation)
Revision as of 21:42, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→See also: moving preparation)
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]
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[edit]
- JTableNested::delete source code on BitBucket
- Class JTableNested
- Subpackage Database
- Other versions of JTableNested::delete
Template:SeeAlso:JTableNested::delete [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />