ProfilerSimpleText Class Reference
[Profiler]

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

Inherits ProfilerSimple.

List of all members.

Public Member Functions

 getFunctionReport ()
 Returns a list of profiled functions.

Static Public Member Functions

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

Public Attributes

 $visible = false


Detailed Description

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

Put it to StartProfiler.php like this:

require_once( dirname( __FILE__ ) . '/includes/ProfilerSimpleText.php' ); $wgProfiler = new ProfilerSimpleText; $wgProfiler->visible=true;

Definition at line 20 of file ProfilerSimpleText.php.


Member Function Documentation

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

Definition at line 34 of file ProfilerSimpleText.php.

References $key, and printf().

ProfilerSimpleText::getFunctionReport (  ) 

Returns a list of profiled functions.

Also log it into the database if $wgProfileToDatabase is set to true.

Reimplemented from ProfilerSimple.

Definition at line 23 of file ProfilerSimpleText.php.

References print.

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

Definition at line 33 of file ProfilerSimpleText.php.


Member Data Documentation

ProfilerSimpleText::$visible = false

Definition at line 21 of file ProfilerSimpleText.php.


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

Generated on Sat Sep 5 02:08:45 2009 for MediaWiki by  doxygen 1.5.9