Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 4723 | Rev 4725 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4723 Rev 4724
Línea 184... Línea 184...
184
 
184
 
185
                $surveyFormMapper = SurveyFormMapper::getInstance($this->adapter);
185
                $surveyFormMapper = SurveyFormMapper::getInstance($this->adapter);
186
                $surveyForm = $surveyFormMapper->fetchOneByUuid($dataPost['form_id']);
186
                $surveyForm = $surveyFormMapper->fetchOneByUuid($dataPost['form_id']);
Línea 187... Línea -...
187
                $survey->form_id = $surveyForm->id;
-
 
188
 
-
 
189
 
-
 
190
                $surveyMapper = SurveyMapper::getInstance($this->adapter);
187
                $survey->form_id = $surveyForm->id;
191
                $result = $surveyMapper->insert($survey);
188
 
192
                return new JsonModel([
189
                return new JsonModel([
193
                    'success' => false,
190
                    'success' => false,
-
 
191
                    'data' => $survey,
-
 
192
                ]);
-
 
193
                $surveyMapper = SurveyMapper::getInstance($this->adapter);
Línea 194... Línea 194...
194
                    'data' => $result,
194
                $result = $surveyMapper->insert($survey);
195
                ]);
195
              
Línea 196... Línea 196...
196
 
196