public function mostraralumnosAction(Request $request)
 {
     $notas = '';
     $parametro1 = $request->request->get('parametro1');
     $response = new JsonResponse();
     $withoutModal = true;
     $idDocente = 1;
     $carrera = 1;
     $UgServices = new UgServices();
     $datosAlumnosXML = $UgServices->Docentes_getAlumnos($idDocente, $carrera);
     /* if($datosAlumnosXML!="") {
           $nombresalumnos = array();
           foreach($datosAlumnosXML->registros->registro as $datosAlumnos) {
              array_push($nombresalumnos, (array)$datosAlumnos);
           }
        }*/
     $tareas = array(array('tarealm' => 'leccion1'), array('tarealm' => 'leccion2'), array('tarealm' => 'taller1'), array('tarealm' => 'taller2'));
     $this->v_html = $this->renderView('TitulacionSisAcademicoBundle:Docentes:ingresonotas.html.twig', array('arr_datos' => $datosAlumnosXML, 'arr_tareas' => $tareas, 'cantidad' => '', 'pruebaexam' => $parametro1, 'msg' => $this->v_msg));
     $response->setData(array('error' => $this->v_error, 'msg' => $this->v_msg, 'html' => $this->v_html, 'withoutModal' => $withoutModal, 'recargar' => '0'));
     return $response;
 }