Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Changes\Change Interface Reference

Interface for objects representing changes. More...

+ Inheritance diagram for Wikibase\Lib\Changes\Change:

Public Member Functions

 getAge ()
 
 getType ()
 Returns the type of change.
 
 getTime ()
 Returns the time on which the change was made as a timestamp in TS_MW format.
 
 getUserId ()
 Original (repository) user id, or 0 for logged out users.
 
 getId ()
 
 getObjectId ()
 Returns the id of the affected object (ie item or property).
 

Detailed Description

Interface for objects representing changes.

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ getAge()

Wikibase\Lib\Changes\Change::getAge ( )
Returns
int Seconds

Implemented in Wikibase\Lib\Changes\ChangeRow.

◆ getId()

Wikibase\Lib\Changes\Change::getId ( )
Returns
int|null Number to be used as an identifier when persisting the change.

Implemented in Wikibase\Lib\Changes\ChangeRow.

◆ getObjectId()

Wikibase\Lib\Changes\Change::getObjectId ( )

Returns the id of the affected object (ie item or property).

Returns
string

Implemented in Wikibase\Lib\Changes\ChangeRow.

◆ getTime()

Wikibase\Lib\Changes\Change::getTime ( )

Returns the time on which the change was made as a timestamp in TS_MW format.

Returns
string TS_MW

Implemented in Wikibase\Lib\Changes\ChangeRow.

◆ getType()

Wikibase\Lib\Changes\Change::getType ( )

Returns the type of change.

Returns
string

Implemented in Wikibase\Lib\Changes\EntityChange.

◆ getUserId()

Wikibase\Lib\Changes\Change::getUserId ( )

Original (repository) user id, or 0 for logged out users.

Returns
int

Implemented in Wikibase\Lib\Changes\ChangeRow.


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