MediaWiki
1.34.0
|
A subclass of DatabaseLogEntry for objects constructed from entries in the recentchanges table (rather than the logging table). More...
Public Member Functions | |
getAssociatedRevId () | |
getComment () | |
Get the user provided comment. More... | |
getDeleted () | |
Get the access restriction. More... | |
getId () | |
Returns the unique database id. More... | |
getPerformer () | |
Get the user who performed this action. More... | |
getSubtype () | |
The log subtype. More... | |
getTarget () | |
Get the target page of this action. More... | |
getTimestamp () | |
Get the timestamp when the action was executed. More... | |
getType () | |
The main log type. More... | |
Public Member Functions inherited from DatabaseLogEntry | |
getParameters () | |
Get the extra parameters stored for this message. More... | |
isLegacy () | |
Whether the parameters for this log are stored in new or old format. More... | |
Public Member Functions inherited from LogEntryBase | |
getFullType () | |
The full logtype in format maintype/subtype. More... | |
isDeleted ( $field) | |
Protected Member Functions | |
getRawParameters () | |
Returns whatever is stored in the database field. More... | |
Protected Member Functions inherited from DatabaseLogEntry | |
__construct ( $row) | |
Additional Inherited Members | |
Static Public Member Functions inherited from DatabaseLogEntry | |
static | getSelectQueryData () |
Returns array of information that is needed for querying log entries. More... | |
static | newFromId ( $id, IDatabase $db) |
Loads a LogEntry with the given id from database. More... | |
static | newFromRow ( $row) |
Constructs new LogEntry from database result row. More... | |
Static Public Member Functions inherited from LogEntryBase | |
static | extractParams ( $blob) |
Extract a parameter array from a blob. More... | |
static | makeParamBlob ( $params) |
Create a blob from a parameter array. More... | |
Protected Attributes inherited from DatabaseLogEntry | |
bool | $legacy |
Whether the parameters for this log entry are stored in new or old format. More... | |
array | $params |
Parameters for log entry. More... | |
User | $performer |
int | $revId = null |
A rev id associated to the log entry. More... | |
stdClass | $row |
Database result row. More... | |
A subclass of DatabaseLogEntry for objects constructed from entries in the recentchanges table (rather than the logging table).
Definition at line 30 of file RCDatabaseLogEntry.php.
RCDatabaseLogEntry::getAssociatedRevId | ( | ) |
Reimplemented from DatabaseLogEntry.
Definition at line 40 of file RCDatabaseLogEntry.php.
RCDatabaseLogEntry::getComment | ( | ) |
Get the user provided comment.
Reimplemented from DatabaseLogEntry.
Definition at line 80 of file RCDatabaseLogEntry.php.
References DB_REPLICA, CommentStore\getStore(), and wfGetDB().
RCDatabaseLogEntry::getDeleted | ( | ) |
Get the access restriction.
Reimplemented from DatabaseLogEntry.
Definition at line 86 of file RCDatabaseLogEntry.php.
RCDatabaseLogEntry::getId | ( | ) |
Returns the unique database id.
Reimplemented from DatabaseLogEntry.
Definition at line 32 of file RCDatabaseLogEntry.php.
RCDatabaseLogEntry::getPerformer | ( | ) |
Get the user who performed this action.
Reimplemented from DatabaseLogEntry.
Definition at line 52 of file RCDatabaseLogEntry.php.
References DatabaseLogEntry\$performer, User\newFromActorId(), User\newFromId(), and User\newFromName().
|
protected |
Returns whatever is stored in the database field.
Reimplemented from DatabaseLogEntry.
Definition at line 36 of file RCDatabaseLogEntry.php.
RCDatabaseLogEntry::getSubtype | ( | ) |
The log subtype.
Reimplemented from DatabaseLogEntry.
Definition at line 48 of file RCDatabaseLogEntry.php.
RCDatabaseLogEntry::getTarget | ( | ) |
Get the target page of this action.
Reimplemented from DatabaseLogEntry.
Definition at line 70 of file RCDatabaseLogEntry.php.
References Title\makeTitle().
RCDatabaseLogEntry::getTimestamp | ( | ) |
Get the timestamp when the action was executed.
Reimplemented from DatabaseLogEntry.
Definition at line 76 of file RCDatabaseLogEntry.php.
References wfTimestamp().
RCDatabaseLogEntry::getType | ( | ) |
The main log type.
Reimplemented from DatabaseLogEntry.
Definition at line 44 of file RCDatabaseLogEntry.php.