"pre_delete" Trigger
Description
pre_delete
trigger is fired just before a delete sql command issued to the database. If function returns false, SQL command will not be issued.
Declaration
bool block_name.pre_delete();
Example
bool categories.pre_update() {
return false;
}
bool categories.pre_delete() {
return false;
}
bool categories.pre_insert() {
return false;
}
See also
Last updated
Was this helpful?