public function AddEntry(PluginProfiler_ModuleProfiler_EntityEntry $oEntry)
 {
     $sql = "INSERT IGNORE INTO " . Config::Get('db.table.profiler') . " \n\t\t\t(request_date,\n\t\t\trequest_id,\n\t\t\ttime_full,\n\t\t\ttime_start,\n\t\t\ttime_stop,\n\t\t\ttime_id,\n\t\t\ttime_pid,\n\t\t\ttime_name,\n\t\t\ttime_comment)\n\t\t\tVALUES(?, ?, ?f, ?f+?f, ?f+?f,  ?d,  ?d,  ?,  ?)\n\t\t";
     return $this->oDb->query($sql, $oEntry->getDate(), $oEntry->getRequestId(), $oEntry->getTimeFull(), $oEntry->getTimeStart('time'), $oEntry->getTimeStart('seconds'), $oEntry->getTimeStop('time'), $oEntry->getTimeStop('seconds'), $oEntry->getId(), $oEntry->getPid(), $oEntry->getName(), $oEntry->getComment());
 }
 public function addEntry(PluginProfiler_ModuleProfiler_EntityEntry $data)
 {
     if (!isset($this->_aData['report_id'])) {
         $this->setId($data->getRequestId());
         $this->setDate($data->getDate());
     }
     if ($this->getId() != $data->getRequestId()) {
         return null;
     }
     $this->_aData['report_entries'][$data->getId()] = $data;
 }