Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SESP\DatabaseLogReader Class Reference

Public Member Functions

 __construct (DatabaseBase $dbr, Title $title=null, $type='approval')
 
 clearCache ()
 
 getQuery ()
 
 getUserForLogEntry ()
 
 getDateOfLogEntry ()
 
 getStatusOfLogEntry ()
 

Constructor & Destructor Documentation

◆ __construct()

SESP\DatabaseLogReader::__construct ( DatabaseBase  $dbr,
Title  $title = null,
  $type = 'approval' 
)
Since
2.0
Parameters
DatabaseaBase$dbrinjected connection
Title | null$title
string$typeof log (default: approval)

Member Function Documentation

◆ clearCache()

SESP\DatabaseLogReader::clearCache ( )
Since
2.0

◆ getDateOfLogEntry()

SESP\DatabaseLogReader::getDateOfLogEntry ( )
Since
2.0
Returns
Timestamp

◆ getQuery()

SESP\DatabaseLogReader::getQuery ( )

Fetch the query parameters for later calls

Since
2.0
Returns
array of parameters for SELECT call

◆ getStatusOfLogEntry()

SESP\DatabaseLogReader::getStatusOfLogEntry ( )
Since
2.0
Returns
string

◆ getUserForLogEntry()

SESP\DatabaseLogReader::getUserForLogEntry ( )
Since
2.0
Returns
User

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

About | General disclaimer | Privacy policy