API17

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.

Joomla 11.1 JTableNested::delete[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]