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