API module for removing qualifiers from a statement.
More...
|
static | factory (ApiMain $mainModule, string $moduleName, EntityIdParser $entityIdParser, StatementGuidParser $statementGuidParser, StatementGuidValidator $statementGuidValidator) |
|
◆ __construct()
Wikibase\Repo\Api\RemoveQualifiers::__construct |
( |
ApiMain |
$mainModule, |
|
|
string |
$moduleName, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
StatementChangeOpFactory |
$statementChangeOpFactory, |
|
|
StatementModificationHelper |
$modificationHelper, |
|
|
StatementGuidParser |
$guidParser, |
|
|
callable |
$resultBuilderInstantiator, |
|
|
callable |
$entitySavingHelperInstantiator, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
◆ execute()
Wikibase\Repo\Api\RemoveQualifiers::execute |
( |
| ) |
|
◆ factory()
static Wikibase\Repo\Api\RemoveQualifiers::factory |
( |
ApiMain |
$mainModule, |
|
|
string |
$moduleName, |
|
|
EntityIdParser |
$entityIdParser, |
|
|
StatementGuidParser |
$statementGuidParser, |
|
|
StatementGuidValidator |
$statementGuidValidator |
|
) |
| |
|
static |
◆ getAllowedParams()
Wikibase\Repo\Api\RemoveQualifiers::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOps()
Wikibase\Repo\Api\RemoveQualifiers::getChangeOps |
( |
string |
$statementGuid, |
|
|
array |
$qualifierHashes |
|
) |
| |
|
private |
- Parameters
-
string | $statementGuid | |
string[] | $qualifierHashes | |
- Returns
- ChangeOp[]
◆ getExamplesMessages()
Wikibase\Repo\Api\RemoveQualifiers::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ getQualifierHashesFromParams()
Wikibase\Repo\Api\RemoveQualifiers::getQualifierHashesFromParams |
( |
array |
$params, |
|
|
Statement |
$statement |
|
) |
| |
|
private |
- Parameters
-
array | $params | |
Statement | $statement | |
- Returns
- string[]
◆ isWriteMode()
Wikibase\Repo\Api\RemoveQualifiers::isWriteMode |
( |
| ) |
|
◆ needsToken()
Wikibase\Repo\Api\RemoveQualifiers::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ validateParameters()
Wikibase\Repo\Api\RemoveQualifiers::validateParameters |
( |
array |
$params | ) |
|
|
private |
◆ $entitySavingHelper
Wikibase\Repo\Api\RemoveQualifiers::$entitySavingHelper |
|
private |
◆ $errorReporter
Wikibase\Repo\Api\RemoveQualifiers::$errorReporter |
|
protected |
◆ $guidParser
Wikibase\Repo\Api\RemoveQualifiers::$guidParser |
|
private |
◆ $modificationHelper
Wikibase\Repo\Api\RemoveQualifiers::$modificationHelper |
|
private |
◆ $resultBuilder
Wikibase\Repo\Api\RemoveQualifiers::$resultBuilder |
|
private |
◆ $statementChangeOpFactory
Wikibase\Repo\Api\RemoveQualifiers::$statementChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: