Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\SQLStore\Lookup\RedirectTargetLookup Class Reference

Public Member Functions

 __construct (Store $store, IdCacheManager $inMemoryCacheManager)
 
 prepareCache (array $list)
 
 findRedirectSource (DIWikiPage $target, ?string $flag=null)
 

Public Attributes

const PREPARE_CACHE = 'redirect/cache'
 
const CACHE_ONLY = 'cache/only'
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\SQLStore\Lookup\RedirectTargetLookup::__construct ( Store  $store,
IdCacheManager  $inMemoryCacheManager 
)
Since
2.5
Parameters
Store$store
IdCacheManager$inMemoryCacheManager

Member Function Documentation

◆ findRedirectSource()

SMW\SQLStore\Lookup\RedirectTargetLookup::findRedirectSource ( DIWikiPage  $target,
?string  $flag = null 
)
Since
3.2
Parameters
DIWikiPage$target
string$flag
Returns
DIWikiPage|false

◆ prepareCache()

SMW\SQLStore\Lookup\RedirectTargetLookup::prepareCache ( array  $list)
Since
3.2
Parameters
array$list

Member Data Documentation

◆ CACHE_ONLY

const SMW\SQLStore\Lookup\RedirectTargetLookup::CACHE_ONLY = 'cache/only'

Only attempt to lookup from cache

◆ PREPARE_CACHE

const SMW\SQLStore\Lookup\RedirectTargetLookup::PREPARE_CACHE = 'redirect/cache'

Only attempt to lookup from cache


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

About | General disclaimer | Privacy policy