ModelFiles module
Folder
A model in the Files module, with 15 members for templates, 11 API properties and 15 members for admin templates.
Templates view
Properties 14
Take no arguments.
-
#
getId() -
?int -
#
getName() -
?string -
#
getHidden() -
?DateTime -
#
isHidden() -
bool -
#
getFilenames() -
?Collection<Filename> -
#
getChildren() -
?Collection<Folder> -
#
getPath() -
string - Get the path for the folder including subfolders. Also makes sure the path does not contain any forbidden characters by escaping them.
-
#
getComments() -
?Collection<FolderComment> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
Methods 1
Take arguments. The API serialises only getters that need none.
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 11
Read-only values on the record.
-
#
id -
?int -
#
name -
?string -
#
filenames -
?Collection<Filename> -
#
children -
?Collection<Folder> -
#
path -
string - 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.
-
#
comments -
?Collection<FolderComment>
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 14
Take no arguments.
-
#
getId() -
?int -
#
getName() -
?string -
#
getHidden() -
?DateTime -
#
isHidden() -
bool -
#
getFilenames() -
?Collection<Filename> -
#
getChildren() -
?Collection<Folder> -
#
getPath() -
string - 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.
-
#
getComments() -
?Collection<FolderComment> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
Methods 1
Take arguments. The API serialises only getters that need none.
No members match the filter.