dbTable = 'campus.tbl_zeitaufzeichnung'; $this->pk = 'zeitaufzeichnung_id'; } public function deleteEntriesForCurrentDay() { $today = date('Y-m-d'); $qry = "DELETE FROM " . $this->dbTable . " WHERE start >= '" . $today . " 00:00:00' AND start <= '" . $today . " 23:59:59';"; return $this->execQuery($qry); } public function getFullInterval($uid, $fromDate, $toDate) { $qry = <<execQuery($qry, array($uid, $fromDate, $toDate, $uid, $fromDate, $toDate, $fromDate, $toDate)); } }