Wikibase
MediaWiki Wikibase extension
|
Class ChangeOpDescriptionResult. More...
Public Member Functions | |
__construct (?EntityId $entityId, string $languageCode, ?string $oldDescription, ?string $newDescription, bool $isEntityChanged=false) | |
getLanguageCode () | |
The language code of the entity part that changed. | |
getNewDescription () | |
getOldDescription () | |
Public Member Functions inherited from Wikibase\Repo\ChangeOp\GenericChangeOpResult | |
__construct (?EntityId $entityId, bool $isEntityChanged) | |
getEntityId () | |
The id of the entity document that the change op was applied to. | |
isEntityChanged () | |
Whether the entity document was actually changed in any way as a result of applying the change op to it. | |
validate () | |
Validate a ChangeOpResult. | |
Private Attributes | |
$languageCode | |
$oldDescription | |
$newDescription | |
Class ChangeOpDescriptionResult.
Wikibase\Repo\ChangeOp\ChangeOpDescriptionResult::__construct | ( | ?EntityId | $entityId, |
string | $languageCode, | ||
?string | $oldDescription, | ||
?string | $newDescription, | ||
bool | $isEntityChanged = false ) |
Wikibase\Repo\ChangeOp\ChangeOpDescriptionResult::getLanguageCode | ( | ) |
The language code of the entity part that changed.
Implements Wikibase\Repo\ChangeOp\LanguageBoundChangeOpResult.
Wikibase\Repo\ChangeOp\ChangeOpDescriptionResult::getNewDescription | ( | ) |
Wikibase\Repo\ChangeOp\ChangeOpDescriptionResult::getOldDescription | ( | ) |
|
private |
|
private |
|
private |