Frontend | Backend | Api

Workflows\Models\Backend\Step

Step

Method Description Returns
getAllowedTransitions(RevisionBranch $branch) Get the transitions allowed from this step for the current user Collection
isEditingAllowedForUser() Determined whether editing of records in this step is allowed for the current user bool
getId() int
getName() string
getColor() string
getPosition() int
isEditEveryone() bool
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getWorkflow() Workflow
getIncomingTransitions() Collection (Transition)
getOutgoingTransitions() Collection (Transition)
getEditGroups() Collection (Group)
getNotificationGroups() 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
getUid() Get uid to match diagram elements string
getData() Get the data of the step in a format usable for the diagram array