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

Public Member Functions

 __construct (ItemDescriptionValidator $descriptionValidator)
 
 validate (PartiallyValidatedDescriptions $descriptions, TermList $labels, array $languages=null)
 
 getValidatedDescriptions ()
 

Private Attributes

TermList $validatedDescriptions = null
 
ItemDescriptionValidator $descriptionValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionsContentsValidator::__construct ( ItemDescriptionValidator $descriptionValidator)

Member Function Documentation

◆ getValidatedDescriptions()

Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionsContentsValidator::getValidatedDescriptions ( )

◆ validate()

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

Member Data Documentation

◆ $descriptionValidator

ItemDescriptionValidator Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionsContentsValidator::$descriptionValidator
private

◆ $validatedDescriptions

TermList Wikibase\Repo\RestApi\Application\Validation\ItemDescriptionsContentsValidator::$validatedDescriptions = null
private

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