Wikibase
MediaWiki Wikibase extension
|
Class for changes that can be represented as a Diff. More...
Public Member Functions | |
getCompactDiff () | |
setCompactDiff (EntityDiffChangedAspects $diff) | |
Public Member Functions inherited from Wikibase\Lib\Changes\ChangeRow | |
getAge () | |
getTime () | |
getUserId () | |
Original (repository) user id, or 0 for logged out users. | |
__construct (array $fields=[]) | |
getObjectId () | |
getField ( $name) | |
getFields () | |
Overwritten to unserialize the info field on the fly. | |
getInfo ( $cache='no') | |
Returns the info array. | |
getSerializedInfo ( $skipKeys=[]) | |
setField ( $name, $value) | |
Sets the value of a field. | |
setFields (array $fields) | |
Sets multiple fields. | |
getId () | |
hasField ( $name) | |
Gets if a certain field is set. | |
Public Member Functions inherited from Wikibase\Lib\Changes\Change | |
getType () | |
Returns the type of change. | |
Additional Inherited Members | |
Protected Member Functions inherited from Wikibase\Lib\Changes\ChangeRow | |
unserializeInfo ( $str) | |
Unserializes the info field using json_decode. | |
Class for changes that can be represented as a Diff.
Wikibase\Lib\Changes\DiffChange::getCompactDiff | ( | ) |
Wikibase\Lib\Changes\DiffChange::setCompactDiff | ( | EntityDiffChangedAspects | $diff | ) |