34 $this->initial =
$db->getQueryCount();
58 header(
"X-ElggQueryDelta-$key: $delta",
true);
73 $msg = json_encode(
"ElggQueryDelta-$key: $delta");
74 return "<script>console.log($msg)</script>";
getDelta()
Get the number of queries performed since the object was constructed.
setDeltaHeader($key='Default')
Create header X-ElggQueryDelta-* with the delta.
__construct(\Elgg\Database $db)
Constructor.
getDeltaScript($key='Default')
Get SCRIPT element which sends the delta to console.log.
clearfix elgg elgg elgg elgg page header