API module for removing claims.
More...
|
static | factory (ApiMain $mainModule, string $moduleName, EntityIdParser $entityIdParser, StatementGuidParser $statementGuidParser, StatementGuidValidator $statementGuidValidator) |
|
◆ __construct()
Wikibase\Repo\Api\RemoveClaims::__construct |
( |
ApiMain |
$mainModule, |
|
|
string |
$moduleName, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
StatementChangeOpFactory |
$statementChangeOpFactory, |
|
|
StatementModificationHelper |
$modificationHelper, |
|
|
StatementGuidParser |
$guidParser, |
|
|
callable |
$resultBuilderInstantiator, |
|
|
callable |
$entitySavingHelperInstantiator, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
◆ execute()
Wikibase\Repo\Api\RemoveClaims::execute |
( |
| ) |
|
◆ factory()
static Wikibase\Repo\Api\RemoveClaims::factory |
( |
ApiMain |
$mainModule, |
|
|
string |
$moduleName, |
|
|
EntityIdParser |
$entityIdParser, |
|
|
StatementGuidParser |
$statementGuidParser, |
|
|
StatementGuidValidator |
$statementGuidValidator |
|
) |
| |
|
static |
◆ getAllowedParams()
Wikibase\Repo\Api\RemoveClaims::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOps()
Wikibase\Repo\Api\RemoveClaims::getChangeOps |
( |
array |
$params | ) |
|
|
private |
◆ 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: