public function descargarPlanillas() { try { if ($this->verificarSession()) { $idDocente = $_SESSION['idUsuario']; $cfg = Configuracion::getConfiguracion('colegio'); $colegio = $cfg['NOMBRE']; $reporte = new Reportes(); if ($colegio == "galois") { } elseif ($colegio == "santaTeresita") { $reporte->planillasDocenteSantateresita($idDocente); } } } catch (Exception $exc) { echo 'Error de aplicacion: ' . $exc->getMessage(); } }