"pre_update" Trigger
Description
pre_update
trigger is fired just before a update sql command issued to the database. If function returns false, SQL command will not be issued.
Declaration
bool block_name.pre_update();
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?