Property | Description | Returns |
---|---|---|
path | Get the path for the filename including the folder. Does not escape forbidden characters by default. | string |
extension | Get the extension for this filename | string |
\Files\Models\File|\Files\Models\ImagegetContent | Get the content available at the filename | |
id | int | |
name | string | |
type | string | |
created | Get the date the record was created. | DateTime |
modified | Get the last modification date for the record. | DateTime |
hidden | DateTime | |
hidden | bool | |
expires | DateTime | |
expiring | Returns if expire date is set for a filename | bool |
expired | Returns if expire date (if it is set) has come | bool |
folder | Folder | |
image | Image | |
file | File | |
comments | Collection (FilenameComment) | |
shares | Collection (SharedFilename) |
Files\Models\Api\Filename
Filename