API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JProfiler::__construct | ( | $ | prefix = '' | ) |
Constructor
protected
string | Prefix for mark messages |
JProfiler::getBuffer | ( | ) |
Get all profiler marks.
Returns an array of all marks created since the Profiler object was instantiated. Marks are strings as per JProfiler::mark().
public
& JProfiler::getInstance | ( | $ | prefix = '' | ) |
Returns a reference to the global Profiler object, only creating it if it doesn't already exist.
This method must be invoked as:
$browser = & JProfiler::getInstance( $prefix );
public
string | Prefix used to distinguish profiler objects. |
JProfiler::getMemory | ( | ) |
Get information about current memory usage.
public
Références $output.
JProfiler::getmicrotime | ( | ) |
Get the current time.
public
JProfiler::mark | ( | $ | label | ) |
Output a time mark
The mark is returned as text enclosed in
string | A label for the time mark |
JProfiler::$_buffer = null |
JProfiler::$_prefix = '' |
JProfiler::$_start = 0 |