g
Frontend | Backend | Api

Files\Models\Frontend\Folder

Folder

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. Also makes sure the path does not contain any forbidden characters by escaping them. 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