API module for creating claims.
More...
|
| validateParameters (array $params) |
| Checks if the required parameters are set and the ones that make no sense given the snaktype value are not set. More...
|
|
◆ __construct()
Wikibase\Repo\Api\CreateClaim::__construct |
( |
ApiMain |
$mainModule, |
|
|
string |
$moduleName, |
|
|
StatementChangeOpFactory |
$statementChangeOpFactory, |
|
|
ApiErrorReporter |
$errorReporter, |
|
|
StatementModificationHelper |
$modificationHelper, |
|
|
callable |
$resultBuilderInstantiator, |
|
|
callable |
$entitySavingHelperInstantiator, |
|
|
bool |
$federatedPropertiesEnabled, |
|
|
array |
$sandboxEntityIds |
|
) |
| |
◆ factory()
◆ getAllowedParams()
Wikibase\Repo\Api\CreateClaim::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getExamplesMessages()
Wikibase\Repo\Api\CreateClaim::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ isWriteMode()
Wikibase\Repo\Api\CreateClaim::isWriteMode |
( |
| ) |
|
◆ needsToken()
Wikibase\Repo\Api\CreateClaim::needsToken |
( |
| ) |
|
- See also
- ApiBase::needsToken
- Returns
- string
◆ validateParameters()
Wikibase\Repo\Api\CreateClaim::validateParameters |
( |
array |
$params | ) |
|
|
private |
Checks if the required parameters are set and the ones that make no sense given the snaktype value are not set.
- Parameters
-
◆ $entitySavingHelper
Wikibase\Repo\Api\CreateClaim::$entitySavingHelper |
|
private |
◆ $errorReporter
Wikibase\Repo\Api\CreateClaim::$errorReporter |
|
protected |
◆ $modificationHelper
Wikibase\Repo\Api\CreateClaim::$modificationHelper |
|
private |
◆ $resultBuilder
Wikibase\Repo\Api\CreateClaim::$resultBuilder |
|
private |
◆ $sandboxEntityIds
Wikibase\Repo\Api\CreateClaim::$sandboxEntityIds |
|
private |
◆ $statementChangeOpFactory
Wikibase\Repo\Api\CreateClaim::$statementChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: