Model Hooks
Please find below a list of all build-in model's hooks of the Qcadoo Framework.
- OnCopy Hook — onCopy - fired before copy.
- OnCreate Hook — onCreate - fired before create.
- OnDelete Hook — onDelete - fired before delete.
- OnSave Hook — onSave - fired before save.
- OnUpdate Hook — onUpdate - fired before update.
- OnView Hook — onView - fired during loading entity from database.
- ValidatesWith Hook — validatesWith - fired to validate entity or field.