Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Validators\NotMulValidator Class Reference

Validator ensuring the "mul" language code is not being used for descriptions. More...

+ Inheritance diagram for Wikibase\Repo\Validators\NotMulValidator:
+ Collaboration diagram for Wikibase\Repo\Validators\NotMulValidator:

Public Member Functions

 __construct (LanguageNameUtils $languageNameUtils)
 
 validate ( $value)
 
 setOptions (array $options)
 

Private Attributes

LanguageNameUtils $languageNameUtils
 

Detailed Description

Validator ensuring the "mul" language code is not being used for descriptions.

Author
Marius Hoch mail@.nosp@m.mari.nosp@m.ushoc.nosp@m.h.de

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Validators\NotMulValidator::__construct ( LanguageNameUtils $languageNameUtils)

Member Function Documentation

◆ setOptions()

Wikibase\Repo\Validators\NotMulValidator::setOptions ( array $options)
See also
ValueValidator::setOptions()
Parameters
array$options

◆ validate()

Wikibase\Repo\Validators\NotMulValidator::validate ( $value)
See also
ValueValidator::validate()
Parameters
string$valueThe value to validate
Returns
Result

Member Data Documentation

◆ $languageNameUtils

LanguageNameUtils Wikibase\Repo\Validators\NotMulValidator::$languageNameUtils
private

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