WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit Class Reference
+ Inheritance diagram for Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit:
+ Collaboration diagram for Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit:

Public Member Functions

 __construct ( $language, $lemma, LemmaTermValidator $lemmaTermValidator)
 
 validate (EntityDocument $entity)
 

Private Attributes

const SUMMARY_ACTION_ADD = 'add'
 
const SUMMARY_ACTION_UPDATE = 'set'
 
 $language
 
 $lemma
 
 $lemmaTermValidator
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::__construct ( $language,
$lemma,
LemmaTermValidator $lemmaTermValidator )
Parameters
string$language
string$lemma
LemmaTermValidator$lemmaTermValidator
Exceptions
InvalidArgumentException

Member Function Documentation

◆ validate()

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::validate ( EntityDocument $entity)
Parameters
EntityDocument$entity
Returns
Result
Exceptions
InvalidArgumentException

Member Data Documentation

◆ $language

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::$language
private

◆ $lemma

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::$lemma
private

◆ $lemmaTermValidator

Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::$lemmaTermValidator
private

◆ SUMMARY_ACTION_ADD

const Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::SUMMARY_ACTION_ADD = 'add'
private

◆ SUMMARY_ACTION_UPDATE

const Wikibase\Lexeme\DataAccess\ChangeOp\ChangeOpLemmaEdit::SUMMARY_ACTION_UPDATE = 'set'
private

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