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.
|
|
◆ __construct()
◆ 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 |
◆ $statementChangeOpFactory
Wikibase\Repo\Api\CreateClaim::$statementChangeOpFactory |
|
private |
The documentation for this class was generated from the following file: