API module for removing qualifiers from a statement.
More...
◆ __construct()
Wikibase\Repo\Api\RemoveQualifiers::__construct |
( |
ApiMain |
$mainModule, |
|
|
|
$moduleName, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
StatementChangeOpFactory |
$statementChangeOpFactory, |
|
|
StatementModificationHelper |
$modificationHelper, |
|
|
StatementGuidParser |
$guidParser, |
|
|
callable |
$resultBuilderInstantiator, |
|
|
callable |
$entitySavingHelperInstantiator, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
◆ execute()
Wikibase\Repo\Api\RemoveQualifiers::execute |
( |
| ) |
|
◆ getAllowedParams()
Wikibase\Repo\Api\RemoveQualifiers::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOps()
Wikibase\Repo\Api\RemoveQualifiers::getChangeOps |
( |
|
$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: