Method | Description | Returns |
---|---|---|
hasFolderInParents(Folder $folder) | Check whether this folder has the given folder as one of his parents | bool |
getId() | int | |
getName() | string | |
getCreated() | Get the date the record was created. | DateTime |
getModified() | Get the last modification date for the record. | DateTime |
getHidden() | DateTime | |
isHidden() | bool | |
getParent() | Folder | |
getFilenames() | Collection (Filename) | |
getChildren() | Collection (Folder) | |
getPath() | Get the path for the folder including subfolders. Does not include leading or trailing slashes. Part of the entity (instead of the model) as it is required for cache clearing. | string |
getComments() | Collection (FolderComment) | |
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\Backend\Folder
Folder