Method | Description | Returns |
---|---|---|
getId() | int | |
getEntity() | string | |
getRecordId() | int | |
getMethod() | string | |
getProperties() | string | |
getCreated() | Date the record was created. | DateTime |
getModified() | Last modification date for the record. | DateTime |
getHook() | Hook | |
isNewRecord() | Check if the record is a new record | bool |
isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
isVersionedModel() | Check whether a model is versioned | bool |
getAvailableMethods() | Get the methods available for this entity event | array |
Hooks\Models\Backend\EntityEvent
This class is used to store information about which entity changes trigger a hook