g
Frontend | Backend | Api

Globals\Models\Frontend\DocumentationPageComment

DocumentationPageComment

Method Description Returns
getRootComment() Get the root comment DocumentationPageComment
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() DocumentationPageComment
getAnswer() DocumentationPageComment
getPage() DocumentationPage
getCreatedBy() GlobalUser
getVotes() Collection (DocumentationCommentVote)
getChildren() Collection (DocumentationPageComment)
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