MediaWiki
1.32.5
|
Extends the LogEntryInterface with some basic functionality. More...
Public Member Functions | |
getFullType () | |
The full logtype in format maintype/subtype. More... | |
isDeleted ( $field) | |
isLegacy () | |
Whether the parameters for this log are stored in new or old format. More... | |
Public Member Functions inherited from LogEntry | |
getComment () | |
Get the user provided comment. More... | |
getDeleted () | |
Get the access restriction. More... | |
getParameters () | |
Get the extra parameters stored for this message. More... | |
getPerformer () | |
Get the user for 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... | |
Static Public Member Functions | |
static | extractParams ( $blob) |
Extract a parameter array from a blob. More... | |
static | makeParamBlob ( $params) |
Create a blob from a parameter array. More... | |
Extends the LogEntryInterface with some basic functionality.
Definition at line 115 of file LogEntry.php.
|
static |
Extract a parameter array from a blob.
string | $blob |
Definition at line 153 of file LogEntry.php.
References $blob, and unserialize().
Referenced by DatabaseLogEntry\getParameters().
LogEntryBase::getFullType | ( | ) |
The full logtype in format maintype/subtype.
Implements LogEntry.
Definition at line 117 of file LogEntry.php.
References LogEntry\getSubtype(), and LogEntry\getType().
Referenced by LogFormatter\newFromEntry().
LogEntryBase::isDeleted | ( | $field | ) |
int | $field | One of LogPage::DELETED_* bitfield constants |
Implements LogEntry.
Definition at line 121 of file LogEntry.php.
References LogEntry\getDeleted().
LogEntryBase::isLegacy | ( | ) |
Whether the parameters for this log are stored in new or old format.
Reimplemented in ManualLogEntry, and DatabaseLogEntry.
Definition at line 131 of file LogEntry.php.
Referenced by LogFormatter\extractParameters(), and LogFormatter\getIRCActionText().
|
static |
Create a blob from a parameter array.
array | $params |
Definition at line 142 of file LogEntry.php.
References $params, array(), and serialize().
Referenced by LogFormatterTestCase\expandDatabaseRow(), ManualLogEntry\getRecentChange(), ManualLogEntry\insert(), LocalFile\recordUpload2(), and RCFeedIntegrationTest\testNotify().