Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 6378 Rev 6380
Línea 245... Línea 245...
245
                    $skill = new SurveySkill();
245
                    $skill = new SurveySkill();
246
                    $industry = new SurveyIndustry();
246
                    $industry = new SurveyIndustry();
247
                    $language = new SurveyLanguage();
247
                    $language = new SurveyLanguage();
248
                    $location = new SurveyLocation();
248
                    $location = new SurveyLocation();
Línea 249... Línea 249...
249
 
249
 
Línea 250... Línea 250...
250
                    if(!empty($resultLocation)){ 
250
                    // if(!empty($resultLocation)){ 
Línea 251... Línea 251...
251
 
251
 
Línea 252... Línea 252...
252
                        $surveyLocationMapper = SurveyLocationMapper::getInstance($this->adapter);
252
                    //     $surveyLocationMapper = SurveyLocationMapper::getInstance($this->adapter);
253
    
253
    
254
                        $ok = true;
254
                    //     $ok = true;
255
    
255
    
256
                        $record = new SurveyLocation();
256
                    //     $record = new SurveyLocation();
257
                        $record->country = $location->country;
257
                    //     $record->country = $location->country;
258
                        $record->city1 = $location->city1;
258
                    //     $record->city1 = $location->city1;
259
                        $record->state = $location->state;                       
259
                    //     $record->state = $location->state;                       
260
                        $record->postal_code = $location->postal_code;                   
260
                    //     $record->postal_code = $location->postal_code;                   
261
                        $record->latitude = $location->latitude;                   
261
                    //     $record->latitude = $location->latitude;                   
262
                        $record->longitude = $location->longitude;          
262
                    //     $record->longitude = $location->longitude;          
263
                        $record->survey_id = $survey->id;
263
                    //     $record->survey_id = $survey->id;
Línea 264... Línea 264...
264
                        $result = $surveyLanguageMapper->insert($record);
264
                    //     $result = $surveyLanguageMapper->insert($record);
265
                        $ok = $ok && $result;
265
                    //     $ok = $ok && $result;
Línea 266... Línea 266...
266
                           //}
266
                    //        //}
Línea 267... Línea 267...
267
                          if($ok){
267
                    //       if($ok){