| Method | Description | Returns |
|---|---|---|
| getRecord() | Get the record referenced in the loop element | Model |
| isStopped() | Check whether the execution has been stopped | bool |
| getRunData() | Get the loop element run data used for exchanging data between batch actions in a loop run, but not persisted to access outside the loop element | LoopElementRunData |
| getId() | int | |
| getPosition() | int | |
| getStatus() | string | |
| getOutput() | array | |
| getEntity() | string | |
| getRecordId() | int | |
| getCreated() | Date the record was created. | DateTime |
| getModified() | Last modification date for the record. | DateTime |
| getLoopBatchAction() | BatchAction | |
| getChildBatchActions() | Collection (BatchAction) | |
| 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 |
| getOutputDisplay() | Get the output display for the loop element | string |
Hooks\Models\Backend\LoopElement
LoopElement