Frontend | Backend | Api

Workflows\Models\Frontend\Transition

Transition

Method Description Returns
isAllowedForCurrentUser(RevisionBranch $branch) Checks whether the user can do the transition for the provided branch bool
isForward() Determines whether the transition aims to advance the record bool
isMakeActiveTransition() Determines whether the transition aims to advance the record bool
getId() int
getName() string
getPosition() int
isTransitionEveryone() bool
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getWorkflow() Workflow
getSourceStep() Step
getTargetStep() Step
getAdvanceGroups() Collection (Group)
getApprovalGroups() Collection (Group)
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