Frontend | Backend | Api

Sites\Models\Frontend\CacheEntry

CacheFile

Method Description Returns
getUrl() 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. string
getId() int
getPath() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getClient() Client
getEnvironment() Environment
getRecords() Collection (CacheRecord)
getLists() Collection (CacheList)
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
isVersionedModel() Check whether a model is versioned bool