public function historialSecundaria() { try { if ($this->verificarSession()) { $this->vista->set('titulo', 'Estudiantes Secundaria'); $limI = '6'; $limS = '11'; $salones = new Salon(); $historial = new Historial(); $anios = $historial->leerAnios(); $this->vista->set('anios', $anios); $secundaria = $salones->leerSalonesJornada($limI, $limS); $this->vista->set('secundaria', $secundaria); return $this->vista->imprimir(); } } catch (Exception $exc) { echo 'Error de aplicacion: ' . $exc->getMessage(); } }