Example #1
0
     
     {JSON}
     */
 /*
 Valor: ALTERARCONEXAO
 
 Altera a tabela de conexoes
 
 Retorno:
 
 {JSON}
 */
 case "ALTERARCONEXAO":
     $m = new Metaestat();
     if (empty($codigo_estat_conexao)) {
         $codigo_estat_conexao = $m->alteraConexao();
     } else {
         $codigo_estat_conexao = $m->alteraConexao($codigo_estat_conexao, $_GET["bancodedados"], $_GET["host"], $_GET["porta"], $_GET["usuario"]);
     }
     retornaJSON($m->listaConexao($codigo_estat_conexao));
     exit;
     break;
     /*
     Valor: ALTERARTIPOREGIAO
     
     Altera a tabela de regioes
     
     Retorno:
     
     {JSON}
     */