Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ChangeOp\ChangeOpAliasesResult Class Reference

Class ChangeOpAliasesResult. More...

+ Inheritance diagram for Wikibase\Repo\ChangeOp\ChangeOpAliasesResult:
+ Collaboration diagram for Wikibase\Repo\ChangeOp\ChangeOpAliasesResult:

Public Member Functions

 __construct (?EntityId $entityId, string $languageCode, array $oldAliases, array $newAliases, bool $isEntityChanged=false)
 
 getLanguageCode ()
 The language code of the entity part that changed.
 
 getNewAliases ()
 
 getOldAliases ()
 
- 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
 
 $oldAliases
 
 $newAliases
 

Detailed Description

Class ChangeOpAliasesResult.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::__construct ( ?EntityId $entityId,
string $languageCode,
array $oldAliases,
array $newAliases,
bool $isEntityChanged = false )
Parameters
EntityId | null$entityId
string$languageCode
string[]$oldAliases
string[]$newAliases
bool$isEntityChanged

Member Function Documentation

◆ getLanguageCode()

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::getLanguageCode ( )

The language code of the entity part that changed.

Returns
string

Implements Wikibase\Repo\ChangeOp\LanguageBoundChangeOpResult.

◆ getNewAliases()

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::getNewAliases ( )

◆ getOldAliases()

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::getOldAliases ( )

Member Data Documentation

◆ $languageCode

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::$languageCode
private

◆ $newAliases

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::$newAliases
private

◆ $oldAliases

Wikibase\Repo\ChangeOp\ChangeOpAliasesResult::$oldAliases
private

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