Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\SQLStore\Lookup\CachedListLookup Class Reference
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

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

Member Function Documentation

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

Implements SMW\SQLStore\Lookup\ListLookup.

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

Implements SMW\SQLStore\Lookup\ListLookup.

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

Implements SMW\SQLStore\Lookup\ListLookup.

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

Implements SMW\SQLStore\Lookup\ListLookup.

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

Member Data Documentation

const SMW\SQLStore\Lookup\CachedListLookup::VERSION = '0.2'

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