| 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() | Get the date the record was published or is scheduled to be published. | DateTime |
| isPublished() | Check if the record is published. | bool |
| getPerson() | Person | |
| getParent() | Comment | |
| getChildren() | Collection | |
| getPost() | Post | |
| 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 |
| 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 |
Blogs\Models\Backend\Comment
Comment