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

Public Member Functions

 getAssociatedRevId ()
 
 getComment ()
 Get the user provided comment.
 
 getDeleted ()
 Get the access restriction.
 
 getId ()
 Returns the unique database id.
 
 getPerformer ()
 Get the user for performed this action.
 
 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.
 
- Public Member Functions inherited from DatabaseLogEntry
 getParameters ()
 Get the extra parameters stored for this message.
 
 isLegacy ()
 Whether the parameters for this log are stored in new or old format.
 
- Public Member Functions inherited from LogEntryBase
 getFullType ()
 The full logtype in format maintype/subtype.
 
 isDeleted ( $field)
 

Protected Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from DatabaseLogEntry
static getSelectQueryData ()
 Returns array of information that is needed for querying log entries.
 
static newFromId ( $id, IDatabase $db)
 Loads a LogEntry with the given id from database.
 
static newFromRow ( $row)
 Constructs new LogEntry from database result row.
 
- Static Public Member Functions inherited from LogEntryBase
static extractParams ( $blob)
 Extract a parameter array from a blob.
 
static makeParamBlob ( $params)
 Create a blob from a parameter array.
 
- Protected Attributes inherited from DatabaseLogEntry
bool $legacy
 Whether the parameters for this log entry are stored in new or old format.
 
array $params
 Parameters for log entry.
 
User $performer
 
int $revId = null
 A rev id associated to the log entry.
 
stdClass $row
 Database result row.
 

Detailed Description

Definition at line 364 of file LogEntry.php.

Member Function Documentation

◆ getAssociatedRevId()

RCDatabaseLogEntry::getAssociatedRevId ( )

Reimplemented from DatabaseLogEntry.

Definition at line 374 of file LogEntry.php.

◆ getComment()

RCDatabaseLogEntry::getComment ( )

Get the user provided comment.

Returns
string

Reimplemented from DatabaseLogEntry.

Definition at line 416 of file LogEntry.php.

References DB_REPLICA, and wfGetDB().

◆ getDeleted()

RCDatabaseLogEntry::getDeleted ( )

Get the access restriction.

Returns
string

Reimplemented from DatabaseLogEntry.

Definition at line 422 of file LogEntry.php.

◆ getId()

RCDatabaseLogEntry::getId ( )

Returns the unique database id.

Returns
int

Reimplemented from DatabaseLogEntry.

Definition at line 366 of file LogEntry.php.

◆ getPerformer()

RCDatabaseLogEntry::getPerformer ( )

Get the user for performed this action.

Returns
User

Reimplemented from DatabaseLogEntry.

Definition at line 386 of file LogEntry.php.

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

◆ getRawParameters()

RCDatabaseLogEntry::getRawParameters ( )
protected

Returns whatever is stored in the database field.

Returns
string

Reimplemented from DatabaseLogEntry.

Definition at line 370 of file LogEntry.php.

◆ getSubtype()

RCDatabaseLogEntry::getSubtype ( )

The log subtype.

Returns
string

Reimplemented from DatabaseLogEntry.

Definition at line 382 of file LogEntry.php.

◆ getTarget()

RCDatabaseLogEntry::getTarget ( )

Get the target page of this action.

Returns
Title

Reimplemented from DatabaseLogEntry.

Definition at line 404 of file LogEntry.php.

References $title.

◆ getTimestamp()

RCDatabaseLogEntry::getTimestamp ( )

Get the timestamp when the action was executed.

Returns
string

Reimplemented from DatabaseLogEntry.

Definition at line 412 of file LogEntry.php.

References wfTimestamp().

◆ getType()

RCDatabaseLogEntry::getType ( )

The main log type.

Returns
string

Reimplemented from DatabaseLogEntry.

Definition at line 378 of file LogEntry.php.


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