Definition at line 14 of file QueryCounter.php.
Elgg_Database_QueryCounter::getDelta |
( |
| ) |
|
Get the number of queries performed since the object was constructed.
- Returns
- int # of queries
Definition at line 41 of file QueryCounter.php.
Elgg_Database_QueryCounter::getDeltaScript |
( |
|
$key = 'Default' | ) |
|
Get SCRIPT element which sends the delta to console.log.
- See also
- getDelta()
- Parameters
-
string | $key | Key to display in console log |
- Returns
- string markup of SCRIPT element
Definition at line 69 of file QueryCounter.php.
Elgg_Database_QueryCounter::setDeltaHeader |
( |
|
$key = 'Default' | ) |
|
Create header X-ElggQueryDelta-* with the delta.
- See also
- getDelta()
- Parameters
-
string | $key | Key to add to HTTP header name |
- Returns
- void
Definition at line 54 of file QueryCounter.php.
Elgg_Database_QueryCounter::$db |
|
protected |
Elgg_Database_QueryCounter::$initial |
|
protected |
The documentation for this class was generated from the following file: