Frontend | Backend | Api

Scheduler\Models\Frontend\Task

Task

Method Description Returns
getDeleteUrlSrc() Get the url for deleting the record. string
getId() int
getName() string
getText() string
isPredefined() bool
getQueueKey() string
getParameters() array
getInterval() string
getIntervalMinute() string
getIntervalHour() string
getIntervalDay() string
getIntervalMonth() string
getIntervalDayOfWeek() string
getPauseUntil() DateTime
getRecurringUntil() DateTime
getLastDispatched() DateTime
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getPublished() Date at which the page was published DateTime
isPublished() Determines if the record is published. bool
getSite() Site
isRecurring() Check whether the task is configured as recurring task / cron bool
getNextRunDate() Get the next time this task will be dispatched, based on the last DateTime
isDue() Check whether the task is due for dispatching. Also considers "late" tasks due for dispatching on non-recurring tasks only bool
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