Method | Description | Returns |
---|---|---|
getParent() | Get the condition container | Condition |
isFirstIf() | Check whether the condition is an IF condition, i.e. is at position 1 in the condition block | bool |
isElseIf() | Check whether the condition is an ELSE IF condition, i.e. is at position >= 2 in the condition block | bool |
getDisplayType() | string | |
getChildren() | Collection (BaseAction) | |
getConditionType() | Get the condition type | string |
getTemplateCode() | Get the template code for this condition | string |
getEntity() | Get the entity for this condition | string |
getCriteria() | Get the criteria to use for this entity condition | string |
getType() | Get the type of the action, which is the object name without namespace for the action | string |
getAvailablePreviousActions() | Get the available previous actions | Collection |
getId() | int | |
getName() | Virtual getter for the name. Returns the parent condition name. | 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 |
getAvailableConditionTypes() | Get the available condition types | array |
getAvailableEntities() | Get the available entities | array |
getEventEntities() | Get the available entities | array |
getDisplayIcon() | Get the display icon to use when rendering the action | string |
getAvailableTemplateVariables() | Get the available template variables for this condition | array |
getHateoasLinks() | Get the HATEOAS links for the record | array |
getEditUrl() | Get the url for editing the record. | string |
getMoveUrl() | Get the url for moving the record. | string |
getDeleteUrl() | Get the url for deleting the record. | string |
Hooks\Models\Backend\ConditionIf
Condition Entity