API module for removing one or more references of the same statement.
More...
API module for removing one or more references of the same statement.
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >
◆ __construct()
Wikibase\Repo\Api\RemoveReferences::__construct |
( |
ApiMain |
$mainModule, |
|
|
|
$moduleName, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
StatementChangeOpFactory |
$statementChangeOpFactory, |
|
|
StatementModificationHelper |
$modificationHelper, |
|
|
StatementGuidParser |
$guidParser, |
|
|
callable |
$resultBuilderInstantiator, |
|
|
callable |
$entitySavingHelperInstantiator, |
|
|
bool |
$federatedPropertiesEnabled |
|
) |
| |
◆ execute()
Wikibase\Repo\Api\RemoveReferences::execute |
( |
| ) |
|
◆ getAllowedParams()
Wikibase\Repo\Api\RemoveReferences::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getChangeOps()
Wikibase\Repo\Api\RemoveReferences::getChangeOps |
( |
|
$guid, |
|
|
array |
$referenceHashes |
|
) |
| |
|
private |
- Parameters
-
string | $guid | |
string[] | $referenceHashes | |
- Returns
- ChangeOp[]
◆ getExamplesMessages()
Wikibase\Repo\Api\RemoveReferences::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ getReferenceHashesFromParams()
Wikibase\Repo\Api\RemoveReferences::getReferenceHashesFromParams |
( |
array |
$params, |
|
|
Statement |
$statement |
|
) |
| |
|
private |
- Parameters
-
array | $params | |
Statement | $statement | |
- Returns
- string[]
◆ isWriteMode()
Wikibase\Repo\Api\RemoveReferences::isWriteMode |
( |
| ) |
|
◆ needsToken()
Wikibase\Repo\Api\RemoveReferences::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ validateParameters()
Wikibase\Repo\Api\RemoveReferences::validateParameters |
( |
array |
$params | ) |
|
|
private |
◆ $entitySavingHelper
Wikibase\Repo\Api\RemoveReferences::$entitySavingHelper |
|
private |
◆ $errorReporter
Wikibase\Repo\Api\RemoveReferences::$errorReporter |
|
protected |
◆ $guidParser
Wikibase\Repo\Api\RemoveReferences::$guidParser |
|
private |
◆ $modificationHelper
Wikibase\Repo\Api\RemoveReferences::$modificationHelper |
|
private |
◆ $resultBuilder
Wikibase\Repo\Api\RemoveReferences::$resultBuilder |
|
private |
◆ $statementChangeOpFactory
Wikibase\Repo\Api\RemoveReferences::$statementChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: