ModelHooks module
Loop
Loop Entity
A model in the Hooks module, with 29 members for templates, 26 API properties and 42 members for admin templates.
Templates view
Properties 29
Take no arguments.
-
#
getChildren() -
Collection<BaseAction> -
#
getType() -
string - Get the type of the action, which is the object name without namespace for the action
-
#
getId() -
?int -
#
getName() -
?string -
#
getText() -
?string -
#
getPosition() -
?int -
#
getData() -
?array -
#
getCreated() -
?DateTime -
#
getModified() -
?DateTime -
#
getPublished() -
?DateTime -
#
isPublished() -
bool -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 26
Read-only values on the record.
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 42
Take no arguments.
-
#
getChildren() -
Collection<BaseAction> -
#
getSource() -
string - Get the source for the loop. If a RetrieveRecord action exists in the loop, default to this.
-
#
getSourceAction() -
?BaseAction - Get the source action for the loop. If a RetrieveRecord action exists in the loop, default to this.
-
#
getType() -
string - Get the type of the action, which is the object name without namespace for the action
-
#
getId() -
?int -
#
getName() -
?string -
#
getText() -
?string -
#
getPosition() -
?int -
#
getData() -
?array -
#
getCreated() -
?DateTime -
#
getModified() -
?DateTime -
#
getPublished() -
?DateTime -
#
isPublished() -
bool -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
-
#
getAvailableSourceActions()Admin only -
Collection - Get the source actions available to be used in this loop
-
#
getAvailableTemplateVariables()Admin only -
array - Get the available template variables for this loop
No members match the filter.