Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\Sql\Terms\TermStoreCleaner Interface Reference

Interface for deleting IDs acquired from a TermInLangIdsAcquirer, including any further cleanup if necessary. More...

+ Inheritance diagram for Wikibase\Lib\Store\Sql\Terms\TermStoreCleaner:

Public Member Functions

 cleanTermInLangIds (array $termInLangIds)
 Delete the given term in lang IDs.
 

Detailed Description

Interface for deleting IDs acquired from a TermInLangIdsAcquirer, including any further cleanup if necessary.

See also
Item & Property Terms

Member Function Documentation

◆ cleanTermInLangIds()

Wikibase\Lib\Store\Sql\Terms\TermStoreCleaner::cleanTermInLangIds ( array $termInLangIds)

Delete the given term in lang IDs.

Ensuring that they are unreferenced is the caller’s responsibility.

Depending on the implementation, this may include further internal cleanups. In that case, the implementation takes care that those cleanups do not affect other (not deleted) term in lang IDs.

Parameters
int[]$termInLangIds

Implemented in Wikibase\Lib\Store\Sql\Terms\DatabaseUsageCheckingTermStoreCleaner, and Wikibase\Lib\Store\Sql\Terms\InMemoryTermStore.


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