Method | Description | Returns |
---|---|---|
getIf() | Return the if part of the condition | ConditionIf |
getIfs() | Return all if's and else if's of the condition | Collection |
getElseIfs() | Return all else if's of the condition | Collection |
getElse() | Return the else part of the condition | ConditionElse |
getChildren() | Collection (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() | Get the Hook this Action is assigned to | Hook |
getParent() | BaseAction | |
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 |
getHateoasLinks() | Get the HATEOAS links for the record | array |
getDeleteUrl() | Get the url for deleting the record. | string |
Hooks\Models\Backend\Condition
Condition Entity