MediaWiki  1.28.0
LogEntry Interface Reference

Interface for log entries. More...

Inheritance diagram for LogEntry:

Public Member Functions

 getComment ()
 Get the user provided comment. More...
 
 getDeleted ()
 Get the access restriction. More...
 
 getFullType ()
 The full logtype in format maintype/subtype. 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...
 
 isDeleted ($field)
 

Detailed Description

Interface for log entries.

Every log entry has these methods.

Since
1.19

Definition at line 36 of file LogEntry.php.

Member Function Documentation

LogEntry::getComment ( )

Get the user provided comment.

Returns
string

Implemented in ManualLogEntry, RCDatabaseLogEntry, and DatabaseLogEntry.

LogEntry::getDeleted ( )

Get the access restriction.

Returns
string

Implemented in ManualLogEntry, RCDatabaseLogEntry, and DatabaseLogEntry.

Referenced by LogEntryBase\isDeleted().

LogEntry::getFullType ( )

The full logtype in format maintype/subtype.

Returns
string

Implemented in LogEntryBase.

Referenced by LogFormatter\newFromEntry().

LogEntry::getPerformer ( )

Get the user for performed this action.

Returns
User

Implemented in ManualLogEntry, RCDatabaseLogEntry, and DatabaseLogEntry.

Referenced by LogFormatter\getMessageParameters().

LogEntry::getTarget ( )
LogEntry::getTimestamp ( )

Get the timestamp when the action was executed.

Returns
string

Implemented in ManualLogEntry, RCDatabaseLogEntry, and DatabaseLogEntry.

Referenced by BlockLogFormatter\getParametersForApi().

LogEntry::isDeleted (   $field)
Parameters
int$fieldOne of LogPage::DELETED_* bitfield constants
Returns
bool

Implemented in LogEntryBase.


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