public function imprimirHistorialSalon($param) { try { $vec = explode(",", $param); $idSalon = $vec[1]; $anio = $vec[0]; $cfg = Configuracion::getConfiguracion('colegio'); $colegio = $cfg['NOMBRE']; $reporte = new Reportes(); if ($colegio == "galois") { $reporte->consolidadoHistorialGalois($idSalon, $anio); } elseif ($colegio == "santaTeresita") { } } catch (Exception $exc) { echo 'Error de aplicacion: ' . $exc->getMessage(); } }