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

Public Member Functions

 __construct (SMWSQLStore3 $store, ConceptQuerySegmentBuilder $conceptQuerySegmentBuilder)
 
 setUpperLimit ($upperLimit)
 
 refreshConceptCache (Title $concept)
 
 deleteConceptCache ($concept)
 
 refresh (Title $concept)
 
 delete (Title $concept)
 
 getStatus ($concept)
 

Detailed Description

GNU GPL v2+

Since
2.2
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

SMW\SQLStore\ConceptCache::__construct ( SMWSQLStore3  $store,
ConceptQuerySegmentBuilder  $conceptQuerySegmentBuilder 
)
Since
2.2
Parameters
SMWSQLStore3$store
ConceptQuerySegmentBuilder$conceptQueryResolver

Member Function Documentation

SMW\SQLStore\ConceptCache::delete ( Title  $concept)
SMW\SQLStore\ConceptCache::deleteConceptCache (   $concept)

Delete the concept cache for the given concept.

Parameters
$conceptTitle
SMW\SQLStore\ConceptCache::getStatus (   $concept)
Parameters
Title | SMWWikiPageValue | DIWikiPage$concept
Returns
DIConcept|null
SMW\SQLStore\ConceptCache::refresh ( Title  $concept)
Parameters
Title$concept
Returns
string[] array with error messages
SMW\SQLStore\ConceptCache::refreshConceptCache ( Title  $concept)

Refresh the concept cache for the given concept.

Since
1.8
Parameters
$conceptTitle
Returns
array of error strings (empty if no errors occurred)
SMW\SQLStore\ConceptCache::setUpperLimit (   $upperLimit)
Since
2.2
Parameters
integer$upperLimit

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