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

Public Member Functions

 __construct (Database $connection, IteratorFactory $iteratorFactory)
 
 saveToCache ($id, $hash)
 
 deleteFromCache ($id)
 
 clear ()
 
 getDataItemsFromList (array $idList, RequestOptions $requestOptions=null)
 
 getDataItemById ($id)
 

Public Attributes

const POOLCACHE_ID = 'sql.store.id.dataitem.finder'
 

Detailed Description

GNU GPL v2+

Since
2.1
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\IdToDataItemMatchFinder::__construct ( Database  $connection,
IteratorFactory  $iteratorFactory 
)
Since
2.1
Parameters
Database$connection
IteratorFactory$iteratorFactory

Member Function Documentation

SMW\SQLStore\IdToDataItemMatchFinder::clear ( )
Since
2.1
SMW\SQLStore\IdToDataItemMatchFinder::deleteFromCache (   $id)
Since
2.1
Parameters
string$id
SMW\SQLStore\IdToDataItemMatchFinder::getDataItemById (   $id)
Since
2.1
Parameters
integer$id
Returns
DIWikiPage|null
SMW\SQLStore\IdToDataItemMatchFinder::getDataItemsFromList ( array  $idList,
RequestOptions  $requestOptions = null 
)
Since
2.3
Parameters
array$idList
RequestOptions | null$requestOptions
Returns
DIWikiPage[]
SMW\SQLStore\IdToDataItemMatchFinder::saveToCache (   $id,
  $hash 
)
Since
2.1
Parameters
string$id
string$hash

Member Data Documentation

const SMW\SQLStore\IdToDataItemMatchFinder::POOLCACHE_ID = 'sql.store.id.dataitem.finder'

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