ModelDocumentation module
Comment
A model in the Documentation module, with 21 members for templates, 18 API properties and 30 members for admin templates.
Templates view
Properties 21
Take no arguments.
-
#
isDownVotedByUser() -
bool - Check if the comment has been down voted by the currently authenticated user
-
#
getId() -
?int -
#
getText() -
?string -
#
isQuestion() -
bool -
#
isAnswered() -
bool -
#
getChildren() -
?Collection<Comment> -
#
getVotes() -
?Collection<Vote> -
#
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 18
Read-only values on the record.
-
#
id -
?int -
#
text -
?string -
#
question -
bool -
#
answered -
bool -
#
children -
?Collection<Comment> -
#
votes -
?Collection<Vote>
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 30
Take no arguments.
-
#
isDownVotedByUser() -
bool - Check if the comment has been down voted by the currently authenticated user
-
#
getId() -
?int -
#
getText() -
?string -
#
isQuestion() -
bool -
#
isAnswered() -
bool -
#
getChildren() -
?Collection<Comment> -
#
getVotes() -
?Collection<Vote> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
-
#
getCheckPermissionsUrl()Admin only -
?string - Get the url for checking user permissions for this record.
No members match the filter.