Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\SQLStore\Lookup\CachedListLookup Class Reference
Inheritance diagram for SMW\SQLStore\Lookup\CachedListLookup:
Inheritance graph
[legend]
Collaboration diagram for SMW\SQLStore\Lookup\CachedListLookup:
Collaboration graph
[legend]

Public Member Functions

 __construct (ListLookup $listLookup, Cache $cache, \stdClass $cacheOptions)
 
 setCachePrefix ( $cachePrefix)
 
 fetchList ()
 
 runCollector ()
 
 isFromCache ()
 
 getTimestamp ()
 
 getHash ()
 
 deleteCache ()
 

Public Attributes

const VERSION = '0.2'
 

Detailed Description

GNU GPL v2+

Since
2.2
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\SQLStore\Lookup\CachedListLookup::__construct ( ListLookup  $listLookup,
Cache  $cache,
\stdClass  $cacheOptions 
)
Since
2.2
Parameters
ListLookup$listLookup
Cache$cache
stdClass$cacheOptions

Member Function Documentation

◆ deleteCache()

SMW\SQLStore\Lookup\CachedListLookup::deleteCache ( )
Since
2.3

◆ fetchList()

SMW\SQLStore\Lookup\CachedListLookup::fetchList ( )
Since
2.2
Returns
array

Implements SMW\SQLStore\Lookup\ListLookup.

◆ getHash()

SMW\SQLStore\Lookup\CachedListLookup::getHash ( )
Since
2.2
Returns
string

Implements SMW\SQLStore\Lookup\ListLookup.

◆ getTimestamp()

SMW\SQLStore\Lookup\CachedListLookup::getTimestamp ( )
Since
2.2
Returns
integer

Implements SMW\SQLStore\Lookup\ListLookup.

◆ isFromCache()

SMW\SQLStore\Lookup\CachedListLookup::isFromCache ( )
Since
2.2
Returns
boolean

Implements SMW\SQLStore\Lookup\ListLookup.

◆ runCollector()

SMW\SQLStore\Lookup\CachedListLookup::runCollector ( )

◆ setCachePrefix()

SMW\SQLStore\Lookup\CachedListLookup::setCachePrefix (   $cachePrefix)
Since
2.2
Parameters
string$cachePrefix

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

About | General disclaimer | Privacy policy