Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SIL\CacheKeyProvider Class Reference

Public Member Functions

 __construct ( $cachePrefix)
 
 getSiteCacheKey ( $key)
 
 getPageLanguageCacheBlobKey ( $key='')
 
 getPageCacheKey ( $key, $stable=true)
 

Public Attributes

const VERSION = '1.1'
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SIL\CacheKeyProvider::__construct (   $cachePrefix)
Since
1.0
Parameters
string$cachePrefix

Member Function Documentation

◆ getPageCacheKey()

SIL\CacheKeyProvider::getPageCacheKey (   $key,
  $stable = true 
)
Since
1.0
Parameters
string$key
boolean$stable
Returns
string

◆ getPageLanguageCacheBlobKey()

SIL\CacheKeyProvider::getPageLanguageCacheBlobKey (   $key = '')
Since
1.0
Parameters
string$key
Returns
string

◆ getSiteCacheKey()

SIL\CacheKeyProvider::getSiteCacheKey (   $key)
Since
1.0
Parameters
string$key
Returns
string

Member Data Documentation

◆ VERSION

const SIL\CacheKeyProvider::VERSION = '1.1'

Update the version to force a recache for all items due to required changes


The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy