Wikibase
MediaWiki Wikibase extension
|
Class identifying a repo change so that relevant entries can be easily found in a client's recentchanges table. More...
Public Member Functions | |
__construct (string $entityIdSerialization, string $revisionTimestamp, int $revisionId) | |
getEntityIdSerialization () | |
Serialization of the entity id changed. More... | |
getRevisionTimestamp () | |
MediaWiki style timestamp of the revision. More... | |
getRevisionId () | |
serialize () | |
__serialize () | |
unserialize ( $serialized) | |
__unserialize (array $data) | |
toArray () | |
Public Attributes | |
const | ARRAYFORMATVERSION = 1 |
Increases whenever the array format (self::toArray) changes. More... | |
Private Attributes | |
$entityIdSerialization | |
$revisionTimestamp | |
$revisionId | |
Class identifying a repo change so that relevant entries can be easily found in a client's recentchanges table.
Contains the entity id changed, the revision's timestamp, and its id.
Wikibase\Lib\Changes\RepoRevisionIdentifier::__construct | ( | string | $entityIdSerialization, |
string | $revisionTimestamp, | ||
int | $revisionId | ||
) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::__serialize | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::__unserialize | ( | array | $data | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::getEntityIdSerialization | ( | ) |
Serialization of the entity id changed.
Wikibase\Lib\Changes\RepoRevisionIdentifier::getRevisionId | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::getRevisionTimestamp | ( | ) |
MediaWiki style timestamp of the revision.
Wikibase\Lib\Changes\RepoRevisionIdentifier::serialize | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::toArray | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::unserialize | ( | $serialized | ) |
string | $serialized | JSON |
Exception |
|
private |
|
private |
|
private |
const Wikibase\Lib\Changes\RepoRevisionIdentifier::ARRAYFORMATVERSION = 1 |
Increases whenever the array format (self::toArray) changes.