MediaWiki  1.23.2
NullFileJournal Class Reference

Simple version of FileJournal that does nothing. More...

Inheritance diagram for NullFileJournal:
Collaboration diagram for NullFileJournal:

Protected Member Functions

 doGetChangeEntries ( $start, $limit)
 
 doGetCurrentPosition ()
 
 doGetPositionAtTime ( $time)
 
 doLogChangeBatch (array $entries, $batchId)
 
 doPurgeOldLogs ()
 
- Protected Member Functions inherited from FileJournal
 __construct (array $config)
 Construct a new instance from configuration. More...
 

Additional Inherited Members

- Public Member Functions inherited from FileJournal
 getChangeEntries ( $start=null, $limit=0, &$next=null)
 Get an array of file change log entries. More...
 
 getCurrentPosition ()
 Get the position ID of the latest journal entry. More...
 
 getPositionAtTime ( $time)
 Get the position ID of the latest journal entry at some point in time. More...
 
 getTimestampedUUID ()
 Get a statistically unique ID string. More...
 
 logChangeBatch (array $entries, $batchId)
 Log changes made by a batch file operation. More...
 
 purgeOldLogs ()
 Purge any old log entries. More...
 
- Static Public Member Functions inherited from FileJournal
static factory (array $config, $backend)
 Create an appropriate FileJournal object from config. More...
 
- Protected Attributes inherited from FileJournal
string $backend
 
int $ttlDays
 

Detailed Description

Simple version of FileJournal that does nothing.

Since
1.20

Definition at line 204 of file FileJournal.php.

Member Function Documentation

◆ doGetChangeEntries()

NullFileJournal::doGetChangeEntries (   $start,
  $limit 
)
protected
See also
FileJournal::doGetChangeEntries()
Parameters
int$start
int$limit
Returns
array

Reimplemented from FileJournal.

Definition at line 238 of file FileJournal.php.

References array().

◆ doGetCurrentPosition()

NullFileJournal::doGetCurrentPosition ( )
protected
See also
FileJournal::doGetCurrentPosition()
Returns
int|bool

Reimplemented from FileJournal.

Definition at line 219 of file FileJournal.php.

◆ doGetPositionAtTime()

NullFileJournal::doGetPositionAtTime (   $time)
protected
See also
FileJournal::doGetPositionAtTime()
Parameters
int | string$timetimestamp
Returns
int|bool

Reimplemented from FileJournal.

Definition at line 228 of file FileJournal.php.

◆ doLogChangeBatch()

NullFileJournal::doLogChangeBatch ( array  $entries,
  $batchId 
)
protected
See also
FileJournal::doLogChangeBatch()
Parameters
array$entries
string$batchId
Returns
Status

Reimplemented from FileJournal.

Definition at line 211 of file FileJournal.php.

References Status\newGood().

◆ doPurgeOldLogs()

NullFileJournal::doPurgeOldLogs ( )
protected
See also
FileJournal::doPurgeOldLogs()
Returns
Status

Reimplemented from FileJournal.

Definition at line 246 of file FileJournal.php.

References Status\newGood().


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