Method Name | Arguments | Description![]() |
Default Contents |
---|---|---|---|
$type | update type (insert, update, delete) | ||
$table_name | table name (with schema) | undef | |
$id | record id (PK) | ||
$old_fields | hash of original fields | undef | |
$fields | hash of modified fields | ||
DELETE_IF_FIELD_EMPTY |
Contains a list of field names. Defines which field causes execution of PRE_DELETE and DELETE on the specified row prior to UPDATE, when the field is empty. | By default the method does not exist. | |
DB_LOG |
Add variations to logs table | ||
ENTITY_CHILDREN |
|||
ENTITY_FIELDS |
|||
ENTITY_RELATIONS |