|
const | REDIRECT_SOURCE = 'redirect.source.lookup' |
|
const | REDIRECT_TARGET = 'redirect.target.lookup' |
|
GNU GPL v2+
- Since
- 3.0
- Author
- mwjames
◆ __construct()
SMW\SQLStore\EntityStore\IdCacheManager::__construct |
( |
array |
$caches | ) |
|
◆ computeSha1()
static SMW\SQLStore\EntityStore\IdCacheManager::computeSha1 |
( |
|
$args = '' | ) |
|
|
static |
- Since
- 3.0
- Parameters
-
- Returns
- string
◆ deleteCache()
SMW\SQLStore\EntityStore\IdCacheManager::deleteCache |
( |
|
$title, |
|
|
|
$namespace, |
|
|
|
$interwiki, |
|
|
|
$subobject |
|
) |
| |
- Since
- 3.0
- Parameters
-
string | $title | |
integer | $namespace | |
string | $interwiki | |
string | $subobject | |
◆ deleteCacheById()
SMW\SQLStore\EntityStore\IdCacheManager::deleteCacheById |
( |
|
$id | ) |
|
◆ get()
SMW\SQLStore\EntityStore\IdCacheManager::get |
( |
|
$key | ) |
|
- Since
- 3.0
- Parameters
-
- Returns
- boolean
◆ getId()
SMW\SQLStore\EntityStore\IdCacheManager::getId |
( |
|
$args | ) |
|
Get a cached SMW ID, or false if no cache entry is found.
- Since
- 3.0
- Parameters
-
- Returns
- integer|boolean
◆ getSort()
SMW\SQLStore\EntityStore\IdCacheManager::getSort |
( |
|
$args | ) |
|
Get a cached SMW sortkey, or false if no cache entry is found.
- Since
- 3.0
- Parameters
-
string | $title | |
integer | $namespace | |
string | $interwiki | |
string | $subobject | |
- Returns
- string|boolean
◆ hasCache()
SMW\SQLStore\EntityStore\IdCacheManager::hasCache |
( |
|
$hash | ) |
|
- Since
- 3.0
- Parameters
-
- Returns
- boolean
◆ setCache()
SMW\SQLStore\EntityStore\IdCacheManager::setCache |
( |
|
$title, |
|
|
|
$namespace, |
|
|
|
$interwiki, |
|
|
|
$subobject, |
|
|
|
$id, |
|
|
|
$sortkey |
|
) |
| |
- Since
- 3.0
- Parameters
-
string | $title | |
integer | $namespace | |
string | $interwiki | |
string | $subobject | |
integer | $id | |
string | $sortkey | |
◆ REDIRECT_SOURCE
const SMW\SQLStore\EntityStore\IdCacheManager::REDIRECT_SOURCE = 'redirect.source.lookup' |
Caching redirects, especially from prefetch
The documentation for this class was generated from the following file: