Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory Class Reference

Factory for ChangeOps that apply to an entity Fingerprint. More...

Public Member Functions

 __construct (TermValidatorFactory $termValidatorFactory)
 
 newFingerprintChangeOp (ChangeOps $changeOps)
 
 newAddAliasesOp ( $languageCode, array $aliases)
 
 newSetAliasesOp ( $languageCode, array $aliases)
 
 newRemoveAliasesOp ( $languageCode, array $aliases)
 
 newSetDescriptionOp ( $languageCode, $description)
 
 newRemoveDescriptionOp ( $languageCode)
 
 newSetLabelOp ( $languageCode, $label)
 
 newRemoveLabelOp ( $languageCode)
 

Private Attributes

 $termValidatorFactory
 

Detailed Description

Factory for ChangeOps that apply to an entity Fingerprint.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::__construct ( TermValidatorFactory $termValidatorFactory)

Member Function Documentation

◆ newAddAliasesOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newAddAliasesOp ( $languageCode,
array $aliases )
Parameters
string$languageCode
string[]$aliases
Exceptions
InvalidArgumentException
Returns
ChangeOp

◆ newFingerprintChangeOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newFingerprintChangeOp ( ChangeOps $changeOps)

◆ newRemoveAliasesOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newRemoveAliasesOp ( $languageCode,
array $aliases )
Parameters
string$languageCode
string[]$aliases
Returns
ChangeOp

◆ newRemoveDescriptionOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newRemoveDescriptionOp ( $languageCode)
Parameters
string$languageCode
Exceptions
InvalidArgumentException
Returns
ChangeOp

◆ newRemoveLabelOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newRemoveLabelOp ( $languageCode)
Parameters
string$languageCode
Exceptions
InvalidArgumentException
Returns
ChangeOp

◆ newSetAliasesOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newSetAliasesOp ( $languageCode,
array $aliases )
Parameters
string$languageCode
string[]$aliases
Exceptions
InvalidArgumentException
Returns
ChangeOp

◆ newSetDescriptionOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newSetDescriptionOp ( $languageCode,
$description )
Parameters
string$languageCode
string$description
Exceptions
InvalidArgumentException
Returns
ChangeOp

◆ newSetLabelOp()

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::newSetLabelOp ( $languageCode,
$label )
Parameters
string$languageCode
string$label
Exceptions
InvalidArgumentException
Returns
ChangeOp

Member Data Documentation

◆ $termValidatorFactory

Wikibase\Repo\ChangeOp\FingerprintChangeOpFactory::$termValidatorFactory
private

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