MediaWiki  1.34.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 overridden

Definition at line 27 of file StatOutputs.php.

Member Function Documentation

◆ blockend()

StatsOutput::blockend ( )

Reimplemented in CsvStatsOutput, TextStatsOutput, and WikiStatsOutput.

Definition at line 46 of file StatOutputs.php.

◆ blockstart()

StatsOutput::blockstart ( )

Reimplemented in WikiStatsOutput.

Definition at line 43 of file StatOutputs.php.

◆ element()

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

Reimplemented in CsvStatsOutput, TextStatsOutput, and WikiStatsOutput.

Definition at line 49 of file StatOutputs.php.

◆ footer()

StatsOutput::footer ( )

Reimplemented in WikiStatsOutput.

Definition at line 40 of file StatOutputs.php.

◆ formatPercent()

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

Reimplemented in WikiStatsOutput.

Definition at line 28 of file StatOutputs.php.

◆ heading()

StatsOutput::heading ( )

Reimplemented in WikiStatsOutput.

Definition at line 37 of file StatOutputs.php.


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