ModelHooks module
HttpResponseAction
HttpRequestAction Entity
A model in the Hooks module, with 23 members for templates, 20 API properties and 29 members for admin templates.
Templates view
Properties 23
Take no arguments.
-
#
getHeaders() -
?string -
#
isStopExecution() -
bool - Determines whether execution of the hook should stop directly when this action is encountered
-
#
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 20
Read-only values on the record.
-
#
headers -
?string -
#
stopExecution -
bool - Determines whether execution of the hook should stop directly when this action is encountered
-
#
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.
-
#
getHeaders() -
?string -
#
isStopExecution() -
bool - Determines whether execution of the hook should stop directly when this action is encountered
-
#
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.