|
MediaWiki master
|
Extends the LogEntry Interface with some basic functionality. More...
Inherits MediaWiki\Logging\LogEntry.
Inherited by MediaWiki\Logging\DatabaseLogEntry, and MediaWiki\Logging\ManualLogEntry.

Public Member Functions | ||||
| getFullType () | ||||
The full logtype in format maintype/subtype.
| ||||
| isDeleted ( $field) | ||||
| ||||
| isLegacy () | ||||
| Whether the parameters for this log are stored in new or old format. | ||||
Public Member Functions inherited from MediaWiki\Logging\LogEntry | ||||
| getComment () | ||||
| Get the user provided comment. | ||||
| getDeleted () | ||||
| Get the access restriction. | ||||
| getParameters () | ||||
| Get the extra parameters stored for this message. | ||||
| getPerformerIdentity () | ||||
| getSubtype () | ||||
| The log subtype. | ||||
| getTarget () | ||||
| Get the target page of this action. | ||||
| getTimestamp () | ||||
| Get the timestamp when the action was executed. | ||||
| getType () | ||||
| The main log type. | ||||
Static Public Member Functions | |
| static | extractParams ( $blob) |
| Extract a parameter array from a blob. | |
| static | makeParamBlob ( $params) |
| Create a blob from a parameter array. | |
Extends the LogEntry Interface with some basic functionality.
Definition at line 19 of file LogEntryBase.php.
|
static |
Extract a parameter array from a blob.
| string | $blob |
Definition at line 59 of file LogEntryBase.php.
Referenced by MediaWiki\Logging\DatabaseLogEntry\getParameters().
| MediaWiki\Logging\LogEntryBase::getFullType | ( | ) |
The full logtype in format maintype/subtype.
Implements MediaWiki\Logging\LogEntry.
Definition at line 22 of file LogEntryBase.php.
References MediaWiki\Logging\LogEntry\getSubtype(), and MediaWiki\Logging\LogEntry\getType().
| MediaWiki\Logging\LogEntryBase::isDeleted | ( | $field | ) |
| int | $field | One of LogPage::DELETED_* bitfield constants |
Implements MediaWiki\Logging\LogEntry.
Definition at line 27 of file LogEntryBase.php.
References MediaWiki\Logging\LogEntry\getDeleted().
| MediaWiki\Logging\LogEntryBase::isLegacy | ( | ) |
Whether the parameters for this log are stored in new or old format.
Reimplemented in MediaWiki\Logging\DatabaseLogEntry, and MediaWiki\Logging\ManualLogEntry.
Definition at line 37 of file LogEntryBase.php.
|
static |
Create a blob from a parameter array.
| array | $params |
Definition at line 48 of file LogEntryBase.php.
Referenced by MediaWiki\Logging\ManualLogEntry\getRecentChange(), and MediaWiki\Logging\ManualLogEntry\insert().