|
database.inc.php - Database Functions
|
delete
Required Parameters: array $table, variable $id, bool $securityBit
Optional Parameters: bool $verifyIdentity
Returns: None
Description: This function deletes one or more records from a table, as specified by the $id parameter. If $id is an array, idString returns the correct string to delete multiple records. The Boolean delete permission should be specified by the $securityBit variable. If $verifyIdentity is true, then only the user who last updated the record will be allowed to delete it.
function delete($table, $id, $securityBit, $verifyIdentity = FALSE, $deleteRelations = FALSE, $headers = '')
|