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