/** * Code to be run before inserting to database * @param PropelPDO $con * @return boolean */ public function preInsert(PropelPDO $con = null) { $this->setCreatedAt(time()); $this->setUpdatedAt(time()); return parent::preInsert($con); }
/** * Code to be run before inserting to database * @param PropelPDO $con * @return boolean */ public function preInsert(PropelPDO $con = null) { return parent::preInsert($con); }