Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 4859 Rev 4860
Línea 287... Línea 287...
287
            ]);
287
            ]);
288
        }
288
        }
289
        if($request->isGet()){
289
        if($request->isGet()){
290
            $hydrator = new ObjectPropertyHydrator();
290
            $hydrator = new ObjectPropertyHydrator();
291
            $location = new Location();
291
            $location = new Location();
292
            $hydrator->hydrate($dataPost, $location);
-
 
293
            
-
 
294
            $locationMapper= LocationMapper::getInstance($this->adapter);
-
 
295
            $result = $locationMapper->insert($location);
-
 
296
 
-
 
297
            $survey = new Survey();
-
 
298
            $hydrator->hydrate($dataPost, $survey);
-
 
299
 
-
 
300
            $survey->location_id = $location->id;
-
 
301
            $survey->company_id = $currentCompany->id;
-
 
Línea 302... Línea 292...
302
 
292
 
303
            $jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
293
            $jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
Línea 304... Línea 294...
304
            $jobDescription = $jobDescriptionMapper->fetchAllByCompanyId($currentCompany->id);
294
            $jobDescription = $jobDescriptionMapper->fetchAllByCompanyId($currentCompany->id);