id = ($row[$startcol + 0] !== null) ? (int) $row[$startcol + 0] : null; $this->type = ($row[$startcol + 1] !== null) ? $row[$startcol + 1] : null; $this->resetModified(); $this->setNew(false); if ($rehydrate) { $this->ensureConsistency(); } return $startcol + 2; } catch (Exception $e) { throw new PropelException("Error populating MyModel object", $e); } } }