Пример #1
0
 function mostrarseleccionProgramacionMedicosdhtmlx($datos)
 {
     //         $oLCronograma = new LCronograma();
     //        $datos == '' ? $arrayFilas1 = array() : $arrayFilas1 = $oLCronograma->obtenerProgramacionMedico($datos);
     //        $arrayCabecera = array("1" => "DIA", "2" => "ACTIVIDAD", "3" => "SERVICIO", "4" => "AMB.LOG.", "5" => "AMB.FIS.", "6" => "TURNO", "7" => "CUPOS", "8" => "ADIC.", "9" => "...", "10" => "...", /* "11"=>"...", */"12" => "...");
     //        $arrayTipo = array("0" => "c", "1" => "c", "2" => "c", "3" => "c", "4" => "c", "5" => "c", "6" => "c", "7" => "c", "8" => "c", "9" => "h", "10" => "h", /* "11"=>"h", */"12" => "c");
     //        $o_Tabla = new Tabla1($arrayCabecera, 10, $arrayFilas1, 'tablaOrden', 'filax', 'filay', 'filaSeleccionada', 'OnClick', '', 0, $arrayTipo);
     //        $tablaHTML = $o_Tabla->getTabla();
     //        $row_ini = "<table width='100%'>";
     //        $row_fin = "</table>";
     //        return $row_ini . $tablaHTML . $row_fin;
     $o_Lcronograma = new LCronograma();
     $o_TablaHtmlx = new tablaDHTMLX();
     $arrayFilas = $o_Lcronograma->obtenerProgramacionMedico($datos);
     //print_r($arrayFilas);
     $arrayCabecera = array(0 => "", 1 => "DIA", 2 => "ACTIVIDAD", 3 => "C. COSTO", 4 => "AMB.LOG.", 5 => "AMB.FIS.", 6 => "TURNO", 7 => "CUPOS", 8 => "", 9 => "", 10 => "", 11 => "Fecha Pro.", 12 => "Activo", 13 => "...", 14 => "...", 15 => "...", 16 => "...", 17 => "...", 18 => "...");
     $arrayTamano = array(0 => "*", 1 => "50", 2 => "110", 3 => "180", 4 => "180", 5 => "60", 6 => "90", 7 => "50", 8 => "*", 9 => "*", 10 => "*", 11 => "*", 12 => "30", 13 => "30", 14 => "30", 15 => "30", 16 => "30", 17 => "30", 18 => "30");
     $arrayTipo = array(0 => "ro", 1 => "ro", 2 => "ro", 3 => "ro", 4 => "ro", 5 => "ro", 6 => "ro", 7 => "ro", 8 => "ro", 9 => "ro", 10 => "ro", 11 => "ro", 12 => "ro", 13 => "ro", 14 => "img", 15 => "img", 16 => "img", 17 => "ro", 18 => "img");
     $arrayCursor = array(0 => "default", 1 => "default", 2 => "default", 3 => "default", 4 => "default", 5 => "default", 6 => "default", 7 => "default", 8 => "default", 9 => "default", 10 => "default", 11 => "default", 12 => "default", 13 => "default", 14 => "pointer", 15 => "pointer", 16 => "pointer", 17 => "default", 18 => "pointer");
     $arrayHidden = array(0 => "TRUE", 1 => "false", 2 => "false", 3 => "false", 4 => "false", 5 => "true", 6 => "false", 7 => "false", 8 => "true", 9 => "true", 10 => "true", 11 => "false", 12 => "true", 13 => "true", 14 => "false", 15 => "false", 16 => "true", 17 => "true", 18 => "false");
     $arrayAling = array(0 => "left", 1 => "left", 2 => "left", 3 => "left", 4 => "left", 5 => "left", 6 => "left", 7 => "center", 8 => "left", 9 => "left", 10 => "left", 11 => "left", 12 => "center", 13 => "center", 14 => "center", 15 => "center", 16 => "center", 17 => "center", 18 => "center");
     return $o_TablaHtmlx->generaTabla($arrayCabecera, $arrayFilas, $arrayTamano, $arrayTipo, $arrayCursor, $arrayHidden, $arrayAling);
 }