MediaWiki master
|
An individual log entry. More...
Inherited by MediaWiki\Logging\LogEntryBase.
Public Member Functions | |
getComment () | |
Get the user provided comment. | |
getDeleted () | |
Get the access restriction. | |
getFullType () | |
The full logtype in format maintype/subtype. | |
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. | |
isDeleted ( $field) | |
An individual log entry.
This is the basis for methods that all log entries support.
Must not be implemented directly by extensions, extend LogEntryBase instead.
Definition at line 37 of file LogEntry.php.
MediaWiki\Logging\LogEntry::getComment | ( | ) |
Get the user provided comment.
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
MediaWiki\Logging\LogEntry::getDeleted | ( | ) |
Get the access restriction.
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
Referenced by MediaWiki\Logging\LogEntryBase\isDeleted().
MediaWiki\Logging\LogEntry::getFullType | ( | ) |
The full logtype in format maintype/subtype.
Implemented in MediaWiki\Logging\LogEntryBase.
MediaWiki\Logging\LogEntry::getParameters | ( | ) |
Get the extra parameters stored for this message.
This will be in the same format as setParameters(), ie. the array keys might include message formatting prefixes.
Implemented in MediaWiki\Logging\DatabaseLogEntry, and MediaWiki\Logging\ManualLogEntry.
Referenced by MediaWiki\Logging\LegacyLogFormatter\getActionMessage(), MediaWiki\Logging\BlockLogFormatter\getParametersForApi(), MediaWiki\Logging\DeleteLogFormatter\getParametersForApi(), MediaWiki\Logging\MergeLogFormatter\getParametersForApi(), MediaWiki\Logging\MoveLogFormatter\getParametersForApi(), MediaWiki\Logging\PatrolLogFormatter\getParametersForApi(), MediaWiki\Logging\ProtectLogFormatter\getParametersForApi(), and MediaWiki\Logging\UploadLogFormatter\getParametersForApi().
MediaWiki\Logging\LogEntry::getPerformerIdentity | ( | ) |
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
MediaWiki\Logging\LogEntry::getSubtype | ( | ) |
The log subtype.
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
Referenced by MediaWiki\Logging\LegacyLogFormatter\getActionMessage(), MediaWiki\Logging\LogEntryBase\getFullType(), MediaWiki\Logging\BlockLogFormatter\getParametersForApi(), and MediaWiki\Logging\ProtectLogFormatter\getParametersForApi().
MediaWiki\Logging\LogEntry::getTarget | ( | ) |
Get the target page of this action.
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
Referenced by MediaWiki\Logging\LegacyLogFormatter\getActionMessage().
MediaWiki\Logging\LogEntry::getTimestamp | ( | ) |
Get the timestamp when the action was executed.
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
Referenced by MediaWiki\Logging\BlockLogFormatter\getParametersForApi().
MediaWiki\Logging\LogEntry::getType | ( | ) |
The main log type.
Implemented in MediaWiki\Logging\DatabaseLogEntry, MediaWiki\Logging\ManualLogEntry, and MediaWiki\Logging\RCDatabaseLogEntry.
Referenced by MediaWiki\Logging\LegacyLogFormatter\getActionMessage(), and MediaWiki\Logging\LogEntryBase\getFullType().
MediaWiki\Logging\LogEntry::isDeleted | ( | $field | ) |
int | $field | One of LogPage::DELETED_* bitfield constants |
Implemented in MediaWiki\Logging\LogEntryBase.