ModelSites module
CacheEntry
CacheFile
A model in the Sites module, with 12 members for templates, 9 API properties and 12 members for admin templates.
Templates view
Properties 12
Take no arguments.
-
#
getUrl() -
?string - Returns the url of the cache entry based on the primary (or alternatively first) hostname of the associated environment and the provided path. Also considers whether the current system is a dev system, and modifies the hostname accordingly.
-
#
getId() -
?int -
#
getPath() -
?string -
#
getEnvironment() -
?Environment -
#
getRecords() -
?Collection<CacheRecord> -
#
getLists() -
?Collection<CacheList> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
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 9
Read-only values on the record.
-
#
url -
?string - Returns the url of the cache entry based on the primary (or alternatively first) hostname of the associated environment and the provided path. Also considers whether the current system is a dev system, and modifies the hostname accordingly.
-
#
id -
?int -
#
path -
?string -
#
environment -
?Environment -
#
records -
?Collection<CacheRecord> -
#
lists -
?Collection<CacheList>
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 12
Take no arguments.
-
#
getUrl() -
?string - Returns the url of the cache entry based on the primary (or alternatively first) hostname of the associated environment and the provided path. Also considers whether the current system is a dev system, and modifies the hostname accordingly.
-
#
getId() -
?int -
#
getPath() -
?string -
#
getEnvironment() -
?Environment -
#
getRecords() -
?Collection<CacheRecord> -
#
getLists() -
?Collection<CacheList> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.