- Copyright
- GPL-2.0-or-later
◆ __construct()
◆ getValidatedSitelinks()
Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::getValidatedSitelinks |
( |
| ) |
|
◆ validate()
Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::validate |
( |
?string | $itemId, |
|
|
array | $serialization, |
|
|
array | $sitesToValidate = null, |
|
|
string | $basePath = '' ) |
- Parameters
-
string | null | $itemId | - null if validating a new item |
◆ validateSiteIds()
Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::validateSiteIds |
( |
array | $siteIds | ) |
|
|
private |
◆ validateSitelinks()
Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::validateSitelinks |
( |
?string | $itemId, |
|
|
array | $serialization, |
|
|
array | $sitesToValidate = null, |
|
|
string | $basePath = '' ) |
|
private |
◆ $deserializedSitelinks
SitelinkList Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::$deserializedSitelinks = null |
|
private |
◆ $siteIdValidator
SiteIdValidator Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::$siteIdValidator |
|
private |
◆ $sitelinkValidator
SitelinkValidator Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::$sitelinkValidator |
|
private |
◆ CODE_INVALID_SITELINK
const Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::CODE_INVALID_SITELINK = 'sitelinks-validator-code-invalid-sitelink' |
◆ CODE_SITELINKS_NOT_ASSOCIATIVE
const Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::CODE_SITELINKS_NOT_ASSOCIATIVE = 'sitelinks-validator-code-invalid-sitelinks' |
◆ CONTEXT_SITE_ID
const Wikibase\Repo\RestApi\Application\Validation\SitelinksValidator::CONTEXT_SITE_ID = 'sitelinks-validator-context-site-id' |
The documentation for this class was generated from the following file: