ModelHooks module
HttpRequestAction
HttpRequestAction Entity
A model in the Hooks module, with 27 members for templates, 24 API properties and 40 members for admin templates.
Templates view
Properties 27
Take no arguments.
-
#
getUrl() -
?string -
#
getMethod() -
?string -
#
getHeaders() -
?string -
#
getRetries() -
?int -
#
getTimeout() -
?int -
#
getAcceptedStatusCodes() -
?string -
#
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 24
Read-only values on the record.
-
#
url -
?string -
#
method -
?string -
#
headers -
?string -
#
retries -
?int -
#
timeout -
?int -
#
acceptedStatusCodes -
?string -
#
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 40
Take no arguments.
-
#
getUrl() -
?string -
#
getMethod() -
?string -
#
getHeaders() -
?string -
#
getRetries() -
?int -
#
getTimeout() -
?int -
#
getAcceptedStatusCodes() -
?string -
#
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
-
#
getAcceptedStatusCodeRegex()Admin only -
string - Get the regular expression used for valid accepted status codes
-
#
getAvailableTemplateVariables()Admin only -
array - Get the template variables available in this action
No members match the filter.