| Property | Description | Returns |
|---|---|---|
| parent | Get the condition container | Condition |
| firstIf | Check whether the condition is an IF condition, i.e. is at position 1 in the condition block | bool |
| elseIf | Check whether the condition is an ELSE IF condition, i.e. is at position >= 2 in the condition block | bool |
| displayType | string | |
| children | Collection (BaseAction) | |
| conditionType | Get the condition type | string |
| templateCode | Get the template code for this condition | string |
| entity | Get the entity for this condition | string |
| criteria | Get the criteria to use for this entity condition | string |
| type | Get the type of the action, which is the object name without namespace for the action | string |
| availablePreviousActions | Get the available previous actions | Collection |
| id | int | |
| name | string | |
| text | string | |
| position | int | |
| data | array | |
| created | DateTime | |
| modified | DateTime | |
| hook | Get the Hook this Action is assigned to | Hook |
| published | DateTime | |
| published | bool | |
| containedInLoop | Check whether the action is contained in a loop | bool |
| containingLoop | Get the loop this action is contained in | Loop |
Hooks\Models\Api\ConditionIf
Condition Entity