MediaWiki  1.27.2
RCDatabaseLogEntry Class Reference
Inheritance diagram for RCDatabaseLogEntry:
Collaboration diagram for RCDatabaseLogEntry:

Public Member Functions

 getAssociatedRevId ()
 
 getComment ()
 Get the user provided comment. More...
 
 getDeleted ()
 Get the access restriction. More...
 
 getId ()
 
 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...
 
- Public Member Functions inherited from DatabaseLogEntry
 getAssociatedRevId ()
 
 getComment ()
 Get the user provided comment. More...
 
 getDeleted ()
 Get the access restriction. More...
 
 getId ()
 Returns the unique database id. 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...
 
 isLegacy ()
 
- Public Member Functions inherited from LogEntryBase
 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...
 

Protected Member Functions

 getRawParameters ()
 
- Protected Member Functions inherited from DatabaseLogEntry
 __construct ($row)
 
 getRawParameters ()
 Returns whatever is stored in the database field. More...
 

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 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...
 

Detailed Description

Definition at line 331 of file LogEntry.php.

Member Function Documentation

RCDatabaseLogEntry::getAssociatedRevId ( )

Definition at line 341 of file LogEntry.php.

References row().

RCDatabaseLogEntry::getComment ( )

Get the user provided comment.

Returns
string

Implements LogEntry.

Definition at line 380 of file LogEntry.php.

References row().

RCDatabaseLogEntry::getDeleted ( )

Get the access restriction.

Returns
string

Implements LogEntry.

Definition at line 384 of file LogEntry.php.

References row().

RCDatabaseLogEntry::getId ( )

Definition at line 333 of file LogEntry.php.

References row().

RCDatabaseLogEntry::getPerformer ( )

Get the user for performed this action.

Returns
User

Implements LogEntry.

Definition at line 353 of file LogEntry.php.

References DatabaseLogEntry\$performer, if, User\newFromId(), User\newFromName(), and row().

RCDatabaseLogEntry::getRawParameters ( )
protected

Definition at line 337 of file LogEntry.php.

References row().

RCDatabaseLogEntry::getSubtype ( )

The log subtype.

Returns
string

Implements LogEntry.

Definition at line 349 of file LogEntry.php.

References row().

RCDatabaseLogEntry::getTarget ( )

Get the target page of this action.

Returns
Title

Implements LogEntry.

Definition at line 368 of file LogEntry.php.

References $page, $title, Title\makeTitle(), and row().

RCDatabaseLogEntry::getTimestamp ( )

Get the timestamp when the action was executed.

Returns
string

Implements LogEntry.

Definition at line 376 of file LogEntry.php.

References row(), TS_MW, and wfTimestamp().

RCDatabaseLogEntry::getType ( )

The main log type.

Returns
string

Implements LogEntry.

Definition at line 345 of file LogEntry.php.

References row().


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