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