| 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 |
| getSiteDataKey() | Get the siteData key to use when fetch loop elements from site data | string |
| 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() | Get the Hook this Action is assigned to | Hook |
| getPublished() | DateTime | |
| isPublished() | bool | |
| isContainedInLoop() | Check whether the action is contained in a loop | bool |
| getContainingLoop() | Get the loop this action is contained in | Loop |
| 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 |
Hooks\Models\Frontend\Loop
Loop Entity