Esempio n. 1
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->type = $rs->getString($startcol + 0);
         $this->class_name = $rs->getString($startcol + 1);
         $this->message = $rs->getString($startcol + 2);
         $this->module_name = $rs->getString($startcol + 3);
         $this->action_name = $rs->getString($startcol + 4);
         $this->exception_object = $rs->getClob($startcol + 5);
         $this->request = $rs->getClob($startcol + 6);
         $this->uri = $rs->getString($startcol + 7);
         $this->created_at = $rs->getTimestamp($startcol + 8, null);
         $this->id = $rs->getInt($startcol + 9);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 10;
     } catch (Exception $e) {
         throw new PropelException("Error populating sfErrorLog object", $e);
     }
 }