Method | Description | Returns |
---|---|---|
getVirtualFilePath() | Get the full virtual file path. Returns an empty string if the file was not found and logs an error. | string |
getContent() | Get the raw content of the file. Returns an empty string if the file was not found and logs an error. | string |
getId() | int | |
getMd5() | string | |
getType() | string | |
getSize() | int | |
getVirtualFilename() | string | |
getCreated() | Get the date the record was created. | DateTime |
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 |
Files\Models\Frontend\VirtualFile
VirtualFile