Frontend | Backend | Api

Documentation\Models\Backend\GlobalComment

DocumentationPageComment

Method Description Returns
getRootComment() Get the root comment GlobalComment
getUpVotes() Get the number of up votes for this comment int
getDownVotes() Get the number of down votes for this comment int
isUpVotedByUser() Check if the comment has been up voted by the currently authenticated user bool
isDownVotedByUser() Check if the comment has been down voted by the currently authenticated user bool
getId() int
getText() string
isQuestion() bool
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getParent() GlobalComment
getAnswer() GlobalComment
getPage() GlobalPage
getQuestionForAnswer() GlobalComment
getCreatedBy() GlobalUser
getVotes() Collection
getChildren() Collection
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool
getAvailableUsers() Get the available users for the comment Collection
getHateoasLinks() Get the HATEOAS links for the record array
getCreateChildUrl() Get the url for creating a child record. string
getEditUrl() Get the url for editing the record. string
getDeleteUrl() Get the url for deleting the record. string
getPublishUrl() Get the url for publishing the record. string
getManageUrl() Get the url for managing records. string
getPermissionsUrl() Get the url for editing the permissions of the record. string
getCheckPermissionsUrl() Get the url for checking user permissions for this record. string