Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
__construct (ValueValidator $validator) | |
validate (string $languageCode, string $basePath='') | |
Private Attributes | |
ValueValidator | $validator |
Additional Inherited Members | |
Public Attributes inherited from Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator | |
const | CODE_INVALID_LANGUAGE_CODE = 'language-code-validator-code-invalid-language-code' |
const | CONTEXT_LANGUAGE_CODE = 'language-code-validator-context-language-code' |
const | CONTEXT_PATH = 'language-code-validator-context-path' |
Wikibase\Repo\RestApi\Infrastructure\ValueValidatorLanguageCodeValidator::__construct | ( | ValueValidator | $validator | ) |
Wikibase\Repo\RestApi\Infrastructure\ValueValidatorLanguageCodeValidator::validate | ( | string | $languageCode, |
string | $basePath = '' ) |
|
private |