/** * Code to be run before persisting the object * @param PropelPDO $con * @return bloolean */ public function preInsert(PropelPDO $con = null) { $this->updateCategroy(); return parent::preInsert($con); }