ModelFiles module
Filename
A model in the Files module, with 22 members for templates, 18 API properties and 22 members for admin templates.
Templates view
Properties 21
Take no arguments.
-
#
getPath() -
string - Get the path for the filename including the folder. Also makes sure the path does not contain any forbidden characters by escaping them.
-
#
getId() -
?int -
#
getName() -
?string -
#
getType() -
?string -
#
getHidden() -
?DateTime -
#
isHidden() -
bool -
#
getExpires() -
?DateTime -
#
getComments() -
?Collection<FilenameComment> -
#
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 18
Read-only values on the record.
-
#
path -
string - Get the path for the filename including the folder. Does not escape forbidden characters by default.
-
#
id -
?int -
#
name -
?string -
#
type -
?string -
#
expires -
?DateTime -
#
comments -
?Collection<FilenameComment>
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 21
Take no arguments.
-
#
getPath() -
string - Get the path for the filename including the folder. Does not escape forbidden characters by default.
-
#
getId() -
?int -
#
getName() -
?string -
#
getType() -
?string -
#
getHidden() -
?DateTime -
#
isHidden() -
bool -
#
getExpires() -
?DateTime -
#
getComments() -
?Collection<FilenameComment> -
#
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.