API module to set the label for a Wikibase entity.
More...
◆ __construct()
Wikibase\Repo\Api\SetLabel::__construct |
( |
ApiMain |
$mainModule, |
|
|
|
$moduleName, |
|
|
FingerprintChangeOpFactory |
$termChangeOpFactory, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
◆ getAllowedParams()
Wikibase\Repo\Api\SetLabel::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOp()
Wikibase\Repo\Api\SetLabel::getChangeOp |
( |
array |
$preparedParameters, |
|
|
EntityDocument |
$entity |
|
) |
| |
|
protected |
◆ getEntityTypesWithLabels()
Wikibase\Repo\Api\SetLabel::getEntityTypesWithLabels |
( |
| ) |
|
|
protected |
◆ getExamplesMessages()
Wikibase\Repo\Api\SetLabel::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ isWriteMode()
Wikibase\Repo\Api\SetLabel::isWriteMode |
( |
| ) |
|
- See also
- ApiBase::isWriteMode()
- Returns
- bool Always true.
◆ modifyEntity()
Wikibase\Repo\Api\SetLabel::modifyEntity |
( |
EntityDocument & |
$entity, |
|
|
ChangeOp |
$changeOp, |
|
|
array |
$preparedParameters |
|
) |
| |
|
protected |
- See also
- ModifyEntity::modifyEntity
- Parameters
-
EntityDocument | &$entity | |
ChangeOp | $changeOp | |
array | $preparedParameters | |
- Returns
- Summary
Reimplemented from Wikibase\Repo\Api\ModifyEntity.
◆ needsToken()
Wikibase\Repo\Api\SetLabel::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ $termChangeOpFactory
Wikibase\Repo\Api\SetLabel::$termChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: