Ejemplo n.º 1
0
        $fh = gzopen($myFile, 'r');
        $theData = gzpassthru($fh);
        die;
    }
}
if (isset($_POST['json_search_names'])) {
    $searchName = true;
} else {
    $searchName = false;
}
$varReturn = false;
if (isset($_POST['dataBring']) && $_POST['dataBring'] == "var_only") {
    $varReturn = true;
}
//die(var_dump($arrayConsulta));
$ObjConsulta = Consulta::tableParse($arrayConsulta);
//die(var_dump($ObjConsulta));
//$x = 1;
//foreach($ObjConsulta as $obj){
//  $tab = new Tabela($obj, $arrayConsulta, LIMITE_EXIBICAO_TABELA, $varReturn, $searchName);
$tab = new Tabela($ObjConsulta[0], $arrayConsulta2, $atpagina, $atord, LIMITE_EXIBICAO_TABELA, $varReturn, $searchName);
//$tab = new Tabela($obj, LIMITE_EXIBICAO_TABELA, $varReturn, $searchName);
$tab->DrawTabela();
//$x++;
//}
//$tab = new Tabela($arrayConsulta);
//die(var_dump(Tabela::$JSONSaved));
if (!$varReturn) {
    if (is_array(Tabela::$JSONSaved)) {
        foreach (Tabela::$JSONSaved as $key) {
            foreach ($key as $key2 => $val2) {