| Method | Description | Returns |
|---|---|---|
| getId() | int | |
| getKey() | string | |
| getCreated() | Get the date the record was created. | DateTime |
| getModified() | Get the last modification date for the record. | DateTime |
| getCreatedBy() | User | |
| getClient() | Client | |
| getSite() | Site associated with the site data | Site |
| getContent() | Encode JSON content as string before delivering it | string |
| getType() | Get type of the content; either json or scalar | string |
| 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 |
| getContentPreview() | Get a preview of the content | string |
| 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 |
Sites\Models\Backend\SiteData
Site