MediaWiki  1.23.0
StatsOutput Class Reference

A general output object. More...

Inheritance diagram for StatsOutput:

Public Member Functions

 blockend ()
 
 blockstart ()
 
 element ( $in, $heading=false)
 
 footer ()
 
 formatPercent ( $subset, $total, $revert=false, $accuracy=2)
 
 heading ()
 

Detailed Description

A general output object.

Need to be overriden

Definition at line 27 of file StatOutputs.php.

Member Function Documentation

◆ blockend()

StatsOutput::blockend ( )

Reimplemented in CsvStatsOutput, TextStatsOutput, and WikiStatsOutput.

Definition at line 45 of file StatOutputs.php.

◆ blockstart()

StatsOutput::blockstart ( )

Reimplemented in WikiStatsOutput.

Definition at line 42 of file StatOutputs.php.

◆ element()

StatsOutput::element (   $in,
  $heading = false 
)

Reimplemented in CsvStatsOutput, TextStatsOutput, and WikiStatsOutput.

Definition at line 48 of file StatOutputs.php.

◆ footer()

StatsOutput::footer ( )

Reimplemented in WikiStatsOutput.

Definition at line 39 of file StatOutputs.php.

◆ formatPercent()

StatsOutput::formatPercent (   $subset,
  $total,
  $revert = false,
  $accuracy = 2 
)

Reimplemented in WikiStatsOutput.

Definition at line 28 of file StatOutputs.php.

References $total, wfRestoreWarnings(), and wfSuppressWarnings().

◆ heading()

StatsOutput::heading ( )

Reimplemented in WikiStatsOutput.

Definition at line 36 of file StatOutputs.php.


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