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

◆ __construct()

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

Member Function Documentation

◆ deleteConceptCache()

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

Delete the concept cache for the given concept.

Parameters
$conceptTitle

◆ getStatus()

SMW\SQLStore\ConceptCache::getStatus (   $concept)
Parameters
Title | SMWWikiPageValue | DIWikiPage$concept
Returns
DIConcept|null

◆ refresh()

SMW\SQLStore\ConceptCache::refresh ( Title  $concept)
Parameters
Title$concept
Returns
string[] array with error messages

◆ refreshConceptCache()

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)

◆ setUpperLimit()

SMW\SQLStore\ConceptCache::setUpperLimit (   $upperLimit)
Since
2.2
Parameters
integer$upperLimit

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

About | General disclaimer | Privacy policy