g
Frontend | Backend | Api

Hooks\Models\Frontend\Hook

Hook

Method Description Returns
getScheduledEvents() Get the scheduled events / tasks for this hook Collection
getRecurringEvent() Get the recurring event for this hook Task
getId() int
getName() string
getText() string
isSynchronous() bool
getBatchPersistence() string
getCreated() DateTime
getModified() DateTime
getCreatedBy() User
getModifiedBy() User
getPublished() DateTime
isPublished() bool
getCategory() Category
getSite() Site
getBatches() Collection (Batch)
getActions() Collection (BaseAction)
getEntityEvents() Collection (EntityEvent)
getWebEvents() Collection (WebEvent)
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