|
const | CODE_INVALID = 'property-description-validator-code-invalid-description' |
|
const | CODE_EMPTY = 'property-description-validator-code-description-empty' |
|
const | CODE_TOO_LONG = 'property-description-validator-code-description-too-long' |
|
const | CODE_LABEL_DESCRIPTION_EQUAL = 'property-description-validator-code-label-description-equal' |
|
const | CONTEXT_LIMIT = 'property-description-validator-context-character-limit' |
|
const | CONTEXT_LANGUAGE = 'property-description-validator-context-language' |
|
const | CONTEXT_DESCRIPTION = 'property-description-validator-context-description' |
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\RestApi\Infrastructure\TermValidatorFactoryPropertyDescriptionValidator::__construct |
( |
TermValidatorFactory | $termValidatorFactory | ) |
|
◆ validate()
Wikibase\Repo\RestApi\Infrastructure\TermValidatorFactoryPropertyDescriptionValidator::validate |
( |
string | $language, |
|
|
string | $descriptionText, |
|
|
TermList | $existingLabels ) |
◆ validateDescriptionText()
Wikibase\Repo\RestApi\Infrastructure\TermValidatorFactoryPropertyDescriptionValidator::validateDescriptionText |
( |
string | $descriptionText, |
|
|
string | $language ) |
|
private |
◆ validateDescriptionWithLabels()
Wikibase\Repo\RestApi\Infrastructure\TermValidatorFactoryPropertyDescriptionValidator::validateDescriptionWithLabels |
( |
string | $language, |
|
|
string | $description, |
|
|
TermList | $existingLabels ) |
|
private |
◆ $termValidatorFactory
TermValidatorFactory Wikibase\Repo\RestApi\Infrastructure\TermValidatorFactoryPropertyDescriptionValidator::$termValidatorFactory |
|
private |
The documentation for this class was generated from the following file: