MediaWiki  REL1_19
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 17 of file ProfilerSimpleText.php.


Constructor & Destructor Documentation

ProfilerSimpleText::__construct ( profileConfig)

Reimplemented from ProfilerSimple.

Definition at line 21 of file ProfilerSimpleText.php.


Member Function Documentation

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

Definition at line 48 of file ProfilerSimpleText.php.

References $out.

Log the whole profiling data into the database.

Reimplemented from ProfilerSimple.

Definition at line 28 of file ProfilerSimpleText.php.

References Profiler\close(), and print.

Here is the call graph for this function:

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

Definition at line 44 of file ProfilerSimpleText.php.


Member Data Documentation

ProfilerSimpleText::$out [static, private]

Definition at line 19 of file ProfilerSimpleText.php.

ProfilerSimpleText::$visible = false

Definition at line 18 of file ProfilerSimpleText.php.


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