/** * @see MySQLDatabase::sendQuery() */ public function sendQuery($query, $limit = 0, $offset = 0) { $startTime = microtime(true); $result = parent::sendQuery($query . ($limit > 0 ? " LIMIT " . $limit . " OFFSET " . $offset : "")); $endTime = microtime(true); $this->time += $endTime - $startTime; return $result; }