g
Frontend | Backend | Api

Hooks\Models\Frontend\Loop

Loop Entity

Method Description Returns
getParent() Validate that the loop is a root level element BaseAction
getChildren() Collection (BaseAction)
getProcessingType() Set the processing type for this loop string
getRetries() Determines how often failed loop elements should be rescheduled for retries int
getWaitSetting() Get the wait setting for this loop string
isStoppedOnError() Get whether processing loop elements should be stopped on an error bool
getSource() Get the source for the loop string
getPropertyPath() Get the propertyPath to use in a WebEvent or Action source string
getTemplateCode() Get the templateCode used to generate loop elements string
getSourceAction() Get the source action for the loop BaseAction
getType() Get the type of the action, which is the object name without namespace for the action string
getDisplayType() Get Nice Name for Action Class string
getAvailablePreviousActions() Get the available previous actions Collection
getId() int
getName() string
getText() string
getPosition() int
getData() array
getCreated() DateTime
getModified() DateTime
getHook() Hook
getContainingLoop() Get the loop this action is contained in Loop
isContainedInLoop() Check whether the action is contained in a loop 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