API17:JProfiler::getInstance
From Joomla! Documentation
JProfiler::getInstance
Description
Returns the global Profiler object, only creating it if it doesn't already exist.
public static function getInstance ($prefix= '')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $prefix | string | Prefix used to distinguish profiler objects. |
- Returns The Profiler object.
- Defined on line 84 of libraries/joomla/error/profiler.php
See also
JProfiler::getInstance source code on BitBucket
Class JProfiler
Subpackage Error- Other versions of JProfiler::getInstance
User contributed notes
Code Examples