MediaWiki  REL1_22
ProfilerSimpleText Class Reference

The least sophisticated profiler output class possible, view your source! :) More...

Inheritance diagram for ProfilerSimpleText:
Collaboration diagram for ProfilerSimpleText:

List of all members.

Public Member Functions

 __construct ($profileConfig)
 logData ()
 Log the whole profiling data into the database.

Static Public Member Functions

static format ($item, $key, $totalReal)
static sort ($a, $b)

Public Attributes

 $visible = false

Static Private Attributes

static $out

Detailed Description

The least sophisticated profiler output class possible, view your source! :)

Put the following 2 lines in StartProfiler.php:

$wgProfiler['class'] = 'ProfilerSimpleText'; $wgProfiler['visible'] = true;

Definition at line 34 of file ProfilerSimpleText.php.


Constructor & Destructor Documentation

ProfilerSimpleText::__construct ( profileConfig)

Reimplemented from Profiler.

Definition at line 38 of file ProfilerSimpleText.php.


Member Function Documentation

static ProfilerSimpleText::format ( item,
key,
totalReal 
) [static]

Definition at line 73 of file ProfilerSimpleText.php.

References $key, and $out.

Log the whole profiling data into the database.

Reimplemented from ProfilerSimple.

Definition at line 45 of file ProfilerSimpleText.php.

References $out, array(), Profiler\close(), Profiler\getContentType(), and print.

static ProfilerSimpleText::sort ( a,
b 
) [static]

Definition at line 69 of file ProfilerSimpleText.php.


Member Data Documentation

ProfilerSimpleText::$out [static, private]

Definition at line 36 of file ProfilerSimpleText.php.

ProfilerSimpleText::$visible = false

Definition at line 35 of file ProfilerSimpleText.php.


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