| Method | Description | Returns |
|---|---|---|
| isActiveRevision() | Check if the revision is the active revision | bool |
| getPreviewImage() | Get a preview image for the file revision. Returns null if no preview image exists. | Image |
| getId() | int | |
| getName() | string | |
| getText() | string | |
| getCreated() | Get the date the record was created. | DateTime |
| getCreatedBy() | User | |
| getModifiedBy() | User | |
| getModified() | Get the last modification date for the record. | DateTime |
| getFile() | File | |
| getVirtualFile() | VirtualFile | |
| 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 |
Files\Models\Backend\FileRevision
FileRevision