Class for description change operation.
More...
|
| updateDescriptions (TermList $descriptions) |
| Applies the change to the descriptions. More...
|
|
| buildResult (EntityId $entityId=null, Term $oldDescription=null, Term $newDescription=null) |
|
Class for description change operation.
- Copyright
- GPL-2.0-or-later
- Author
- Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >
-
Daniel Kinzler
-
Thiemo Kreuz
◆ __construct()
Wikibase\Repo\ChangeOp\ChangeOpDescription::__construct |
( |
|
$languageCode, |
|
|
|
$description, |
|
|
TermValidatorFactory |
$termValidatorFactory |
|
) |
| |
- Parameters
-
string | $languageCode | |
string | null | $description | |
TermValidatorFactory | $termValidatorFactory | |
- Exceptions
-
◆ apply()
Wikibase\Repo\ChangeOp\ChangeOpDescription::apply |
( |
EntityDocument |
$entity, |
|
|
Summary |
$summary = null |
|
) |
| |
◆ buildResult()
Wikibase\Repo\ChangeOp\ChangeOpDescription::buildResult |
( |
EntityId |
$entityId = null , |
|
|
Term |
$oldDescription = null , |
|
|
Term |
$newDescription = null |
|
) |
| |
|
private |
◆ getActions()
Wikibase\Repo\ChangeOp\ChangeOpDescription::getActions |
( |
| ) |
|
◆ updateDescriptions()
Wikibase\Repo\ChangeOp\ChangeOpDescription::updateDescriptions |
( |
TermList |
$descriptions | ) |
|
|
private |
Applies the change to the descriptions.
- Parameters
-
◆ validate()
Wikibase\Repo\ChangeOp\ChangeOpDescription::validate |
( |
EntityDocument |
$entity | ) |
|
◆ $description
Wikibase\Repo\ChangeOp\ChangeOpDescription::$description |
|
private |
◆ $languageCode
Wikibase\Repo\ChangeOp\ChangeOpDescription::$languageCode |
|
private |
◆ $termValidatorFactory
Wikibase\Repo\ChangeOp\ChangeOpDescription::$termValidatorFactory |
|
private |
The documentation for this class was generated from the following file: