MediaWiki  REL1_24
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 data to some store or even the page output.

Static Public Member Functions

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

Public Attributes

 $visible = false

Protected Member Functions

 collateOnly ()
 Whether to internally just track aggregates and ignore the full stack trace.

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)

Definition at line 38 of file ProfilerSimpleText.php.


Member Function Documentation

Whether to internally just track aggregates and ignore the full stack trace.

Only doing collation saves memory overhead but limits the use of certain features like that of graph generation for the debug toolbar.

Returns:
bool

Reimplemented from ProfilerStandard.

Definition at line 45 of file ProfilerSimpleText.php.

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

Definition at line 77 of file ProfilerSimpleText.php.

References $key, and $out.

Log the data to some store or even the page output.

Reimplemented from ProfilerStandard.

Definition at line 49 of file ProfilerSimpleText.php.

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

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

Definition at line 73 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: