Inherits ProfilerSimple.
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 | |
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.
| static ProfilerSimpleText::format | ( | $ | item, | |
| $ | key | |||
| ) | [static] |
| 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.
| ProfilerSimpleText::$visible = false |
Definition at line 21 of file ProfilerSimpleText.php.
1.5.9