Exemple #1
0
 /**
  * Refresh the concept cache for the given concept.
  *
  * @since 1.8
  * @param Title $concept
  * @return array of error strings (empty if no errors occurred)
  */
 public function refreshConceptCache(Title $concept)
 {
     wfProfileIn('SMWSQLStore3::refreshConceptCache (SMW)');
     $qe = new SMWSQLStore3QueryEngine($this, wfGetDB(DB_MASTER));
     $result = $qe->refreshConceptCache($concept);
     wfProfileOut('SMWSQLStore3::refreshConceptCache (SMW)');
     return $result;
 }
Exemple #2
0
 /**
  * Refresh the concept cache for the given concept.
  *
  * @since 1.8
  * @param Title $concept
  * @return array of error strings (empty if no errors occurred)
  */
 public function refreshConceptCache(Title $concept)
 {
     $qe = new SMWSQLStore3QueryEngine($this, wfGetDB(DB_MASTER));
     $result = $qe->refreshConceptCache($concept);
     return $result;
 }