$hydra_person->setFrom($this->toArray());
$hydra_person->employer_name = $this->company_name;
+ $hydra_person->beforeInsert(array(), $this);
$hydra_person->insert();
- $hydra_person->onInsert(array(), $this);
+
+ $this->delete();
+
+ return $hydra_person;
}
function sendVerification($template, $roo)