Wikibase
MediaWiki Wikibase extension
|
Class ChangeOpLabelResult. More...
Public Member Functions | |
__construct ( $entityId, $languageCode, $oldLabel, $newLabel, $isEntityChanged=false) | |
getLanguageCode () | |
The language code of the entity part that changed. | |
getNewLabel () | |
getOldLabel () | |
Public Member Functions inherited from Wikibase\Repo\ChangeOp\GenericChangeOpResult | |
__construct (?EntityId $entityId, $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 | |
$newLabel | |
$oldLabel | |
Class ChangeOpLabelResult.
Wikibase\Repo\ChangeOp\ChangeOpLabelResult::__construct | ( | $entityId, | |
$languageCode, | |||
$oldLabel, | |||
$newLabel, | |||
$isEntityChanged = false |
|||
) |
EntityId | null | $entityId | |
string | $languageCode | |
$oldLabel | ||
$newLabel | ||
bool | $isEntityChanged |
Wikibase\Repo\ChangeOp\ChangeOpLabelResult::getLanguageCode | ( | ) |
The language code of the entity part that changed.
Implements Wikibase\Repo\ChangeOp\LanguageBoundChangeOpResult.
Wikibase\Repo\ChangeOp\ChangeOpLabelResult::getNewLabel | ( | ) |
Wikibase\Repo\ChangeOp\ChangeOpLabelResult::getOldLabel | ( | ) |
|
private |
|
private |
|
private |