API module for removing claims.
More...
|
| getEntityId (array $params) |
| Validates the parameters and returns the EntityId to act upon on success.
|
|
| getChangeOps (array $params) |
|
◆ __construct()
Wikibase\Repo\Api\RemoveClaims::__construct |
( |
ApiMain |
$mainModule, |
|
|
|
$moduleName, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
StatementChangeOpFactory |
$statementChangeOpFactory, |
|
|
StatementModificationHelper |
$modificationHelper, |
|
|
StatementGuidParser |
$guidParser, |
|
|
callable |
$resultBuilderInstantiator, |
|
|
callable |
$entitySavingHelperInstantiator, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
- Parameters
-
ApiMain | $mainModule | |
string | $moduleName | |
ApiErrorReporter | $errorReporter | |
StatementChangeOpFactory | $statementChangeOpFactory | |
StatementModificationHelper | $modificationHelper | |
StatementGuidParser | $guidParser | |
callable | $resultBuilderInstantiator | |
callable | $entitySavingHelperInstantiator | |
◆ execute()
Wikibase\Repo\Api\RemoveClaims::execute |
( |
| ) |
|
◆ getAllowedParams()
Wikibase\Repo\Api\RemoveClaims::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOps()
Wikibase\Repo\Api\RemoveClaims::getChangeOps |
( |
array |
$params | ) |
|
|
private |
- Parameters
-
- Returns
- ChangeOp[]
◆ getEntityId()
Wikibase\Repo\Api\RemoveClaims::getEntityId |
( |
array |
$params | ) |
|
|
private |
Validates the parameters and returns the EntityId to act upon on success.
- Parameters
-
- Returns
- EntityId
◆ getExamplesMessages()
Wikibase\Repo\Api\RemoveClaims::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ isWriteMode()
Wikibase\Repo\Api\RemoveClaims::isWriteMode |
( |
| ) |
|
◆ needsToken()
Wikibase\Repo\Api\RemoveClaims::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ $entitySavingHelper
Wikibase\Repo\Api\RemoveClaims::$entitySavingHelper |
|
private |
◆ $errorReporter
Wikibase\Repo\Api\RemoveClaims::$errorReporter |
|
protected |
◆ $guidParser
Wikibase\Repo\Api\RemoveClaims::$guidParser |
|
private |
◆ $modificationHelper
Wikibase\Repo\Api\RemoveClaims::$modificationHelper |
|
private |
◆ $resultBuilder
Wikibase\Repo\Api\RemoveClaims::$resultBuilder |
|
private |
◆ $statementChangeOpFactory
Wikibase\Repo\Api\RemoveClaims::$statementChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: