Gives access to properties of a page.
static overrideInstance(PageProps $store=null)
Overrides the default instance of this class This is intended for use while testing and will fail if ...
static PageProps $instance
ensureCacheSize( $size)
Ensure that cache has at least this size.
getCachedProperty( $pageID, $propertyName)
Get a property from the cache.
cacheProperty( $pageID, $propertyName, $propertyValue)
Save a property to the cache.
getProperties( $titles, $propertyNames)
Given one or more Titles and one or more names of properties, returns an associative array mapping pa...
getCachedProperties( $pageID)
Get properties from the cache.
__construct()
Create a PageProps object.
cacheProperties( $pageID, $pageProperties)
Save properties to the cache.
getAllProperties( $titles)
Get all page property values.