Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator:

Public Member Functions

 __construct (ItemLabelValidator $labelValidator)
 
 validate (PartiallyValidatedLabels $labels, TermList $descriptions, array $languages=null)
 
 getValidatedLabels ()
 

Private Attributes

TermList $validatedLabels = null
 
ItemLabelValidator $labelValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator::__construct ( ItemLabelValidator $labelValidator)

Member Function Documentation

◆ getValidatedLabels()

Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator::getValidatedLabels ( )

◆ validate()

Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator::validate ( PartiallyValidatedLabels $labels,
TermList $descriptions,
array $languages = null )

Member Data Documentation

◆ $labelValidator

ItemLabelValidator Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator::$labelValidator
private

◆ $validatedLabels

TermList Wikibase\Repo\RestApi\Application\Validation\ItemLabelsContentsValidator::$validatedLabels = null
private

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