hasReason() && $data['idReason']) { $data['reasonTitle'] = (string) $this->getReasonTitle($data['idReason']); } return parent::initFromForm($data); } }