ModelHooks module
AgentAction
AgentAction Entity
A model in the Hooks module, with 22 members for templates, 19 API properties and 29 members for admin templates.
Templates view
Properties 22
Take no arguments.
-
#
getAgentInstall() -
?Install - Get the agent install this action invokes. Nullable at the persistence level (the FK is SET NULL when the install is deleted), but required at authoring time by the constraint below.
-
#
getTemplate() -
?string -
#
getTemplateCode() -
?string -
#
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
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 19
Read-only values on the record.
-
#
agentInstall -
?Install - Get the agent install this action invokes. Nullable at the persistence level (the FK is SET NULL when the install is deleted), but required at authoring time by the constraint below.
-
#
template -
?string -
#
templateCode -
?string -
#
id -
?int -
#
name -
?string -
#
text -
?string -
#
position -
?int -
#
data -
?array -
#
created -
?DateTime -
#
modified -
?DateTime -
#
parent -
?BaseAction -
#
published -
?DateTime -
#
published -
bool
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 29
Take no arguments.
-
#
getAgentInstall() -
?Install - Get the agent install this action invokes. Nullable at the persistence level (the FK is SET NULL when the install is deleted), but required at authoring time by the constraint below.
-
#
getTemplate() -
?string -
#
getTemplateCode() -
?string -
#
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
-
#
getAvailableTemplateVariables()Admin only -
array - Get the template variables available in this action
No members match the filter.