API17

API17:JTableNested::delete

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples