Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator Interface Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator:

Public Member Functions

 validate (string $languageCode)
 

Public Attributes

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'
 

Detailed Description

Member Function Documentation

◆ validate()

Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator::validate ( string $languageCode)

Member Data Documentation

◆ CODE_INVALID_LANGUAGE_CODE

const Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator::CODE_INVALID_LANGUAGE_CODE = 'language-code-validator-code-invalid-language-code'

◆ CONTEXT_LANGUAGE_CODE

const Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator::CONTEXT_LANGUAGE_CODE = 'language-code-validator-context-language-code'

◆ CONTEXT_PATH

const Wikibase\Repo\RestApi\Application\Validation\LanguageCodeValidator::CONTEXT_PATH = 'language-code-validator-context-path'

The documentation for this interface was generated from the following file: