API17

API17:JTable::delete

From Joomla! Documentation

Joomla 11.1 JTable::delete

Description

Method to delete a row from the database table by primary key value.


public function delete ($pk=null)
Parameter Type Default Description
$pk mixed null An optional primary key value to delete. If not set the instance property value is used.
  • Returns boolean True on success.
  • Defined on line 669 of libraries/joomla/database/table.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples