ProCache Static Entry

An individual page entry in the ProCache static cache. This is an object type returned by many ProCacheStatic methods.

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ProCacheStaticEntry class also inherits all the methods and properties of: WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
ProCacheStaticEntry::cacheFiles()
array

Get all cache index files (full paths) for this entry


Can also be used as property: ProCacheStaticEntry::cacheFiles
 
ProCacheStaticEntry::cachePath()
string

Get full disk path for this cache entry


Can also be used as property: ProCacheStaticEntry::cachePath
 
ProCacheStaticEntry::getFlags()
int

Get flags for this entry (see ProCacheStatic::flags*)

 
ProCacheStaticEntry::getPage()
NullPage Page

Get Page object for this entry

 
ProCacheStaticEntry::getParent()
NullPage Page

Get parent Page for this entry

 
ProCacheStaticEntry::setPage(Page $page)
$this

Set Page object for this entry

 
ProCacheStaticEntry::urlSegmentStr()
string

Get URL segment string for this entry


Can also be used as property: ProCacheStaticEntry::urlSegmentStr
 

Properties

NameReturnSummary 
ProCacheStaticEntry::created int Unix timestamp of created date/time 
ProCacheStaticEntry::keywords string Keywords for this entry 
ProCacheStaticEntry::language Language null Language object used by Page that entry is for 
ProCacheStaticEntry::languageID int Alias of $language_id property 
ProCacheStaticEntry::language_id int Language ID that entry is for 
ProCacheStaticEntry::page Page NullPage Page object that entry is for 
ProCacheStaticEntry::pageNum int Pagination number that entry is for 
ProCacheStaticEntry::pages_id int Page ID that entry is for 
ProCacheStaticEntry::parent Page NullPage Parent page object that entry is for 
ProCacheStaticEntry::parentID int Alias of $parent_id property 
ProCacheStaticEntry::parent_id int Parent page ID that entry is for 
ProCacheStaticEntry::parent_ids array All parent IDs for entry 
ProCacheStaticEntry::path string Path to static entry 
ProCacheStaticEntry::template Template null Template object used by Page that entry is for 
ProCacheStaticEntry::templatesID int Alias of $templates_id property 
ProCacheStaticEntry::templates_id int Template ID that entry is for 
ProCacheStaticEntry::urlSegments array URL segments that are part of the entry URL 

Additional methods and properties

In addition to the methods and properties above, ProCacheStaticEntry also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.252