MediaWiki  master
ProtectLogFormatter Class Reference

This class formats protect log entries. More...

Inheritance diagram for ProtectLogFormatter:
Collaboration diagram for ProtectLogFormatter:

Public Member Functions

 createProtectDescription (array $details)
 Create the protect description to show in the log formatter. More...
 
 formatParametersForApi ()
 
 getActionLinks ()
 
 getPreloadTitles ()
 

Protected Member Functions

 getMessageKey ()
 
 getMessageParameters ()
 
 getParametersForApi ()
 

Private Member Functions

 formatExpiry ($expiry)
 

Detailed Description

This class formats protect log entries.

Since
1.26

Definition at line 30 of file ProtectLogFormatter.php.

Member Function Documentation

ProtectLogFormatter::createProtectDescription ( array  $details)

Create the protect description to show in the log formatter.

Parameters
array$details
Returns
string

Definition at line 168 of file ProtectLogFormatter.php.

References as, and formatExpiry().

Referenced by getMessageParameters().

ProtectLogFormatter::formatExpiry (   $expiry)
private

Definition at line 199 of file ProtectLogFormatter.php.

References $lang, $user, text, and wfIsInfinity().

Referenced by createProtectDescription().

ProtectLogFormatter::formatParametersForApi ( )

Definition at line 147 of file ProtectLogFormatter.php.

References $ret, $wgContLang, as, global, and TS_ISO_8601.

ProtectLogFormatter::getActionLinks ( )
ProtectLogFormatter::getMessageKey ( )
protected

Definition at line 40 of file ProtectLogFormatter.php.

References $params.

ProtectLogFormatter::getMessageParameters ( )
protected
ProtectLogFormatter::getParametersForApi ( )
protected

Definition at line 114 of file ProtectLogFormatter.php.

References $params, and as.

ProtectLogFormatter::getPreloadTitles ( )

Definition at line 31 of file ProtectLogFormatter.php.

References $params, and Title\newFromText().


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