Definition at line 15 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 42 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 70 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 55 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: