g
Frontend | Backend | Api

Faq\Models\Backend\QuestionComment

QuestionComment

Method Description Returns
getId() int
getText() string
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getPublished() DateTime
getQuestion() Question
getPerson() Person
isPublished() Check if the record is published. bool
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
getAvailablePeople() Gets the available people. Method is used in forms to render inputs (e.g. select input). Collection
getHateoasLinks() Get the HATEOAS links for the record array
getEditUrl() Get the url for editing the record. string
getDeleteUrl() Get the url for deleting the record. 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
getPublishUrl() Get the url for publishing the record. string