ModelHooks module
UpdateRecordAction
UpdateRecordAction Entity
A model in the Hooks module, with 26 members for templates, 22 API properties and 36 members for admin templates.
Templates view
Properties 25
Take no arguments.
-
#
getElementIndex() -
?int - Get the element index if the update record action is using a source requiring an index
-
#
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 -
#
getParent() -
?BaseAction -
#
getPublished() -
?DateTime -
#
isPublished() -
bool -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
Methods 1
Take arguments. The API serialises only getters that need none.
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 22
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 35
Take no arguments.
-
#
getElementIndex() -
?int - Get the element index if the update record action is using a source requiring an index
-
#
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 -
#
getParent() -
?BaseAction -
#
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 action
-
#
getAvailableTemplateVariables()Admin only -
array - Get the template variables available in this action
Methods 1
Take arguments. The API serialises only getters that need none.
No members match the filter.