示例#1
0
     $datosTipo["q2"] = $parametros["cboTpoReporteDetalle"];
     $datosTipo["q3"] = $parametros["hidIdReporteDetalle"];
     $datosTipo["q4"] = $parametros["p3"];
     //hacer
     $resultado = $o_ActionReporte->grabarEtiqueta($datos, $datosTipo);
     break;
 case 'grabarAtributoFormato':
     require_once "ActionReporte.php";
     $o_ActionReporte = new ActionReporte();
     $datos = array();
     $datos["p1"] = $parametros["hidIdAtributo"];
     $datos["p2"] = $parametros["txtNomAtributo"];
     $datos["p3"] = $parametros["cboEstadoAtributo"];
     $datos["p4"] = $parametros["cboAtributo"];
     $datos["p5"] = $parametros["p2"];
     $resultado = $o_ActionReporte->grabarAtributoFormato($datos);
     break;
 case 'arbolReporte':
     require_once "ActionReporte.php";
     header("Content-type: text/xml");
     $o_ActionReporte = new ActionReporte();
     $resultado = $o_ActionReporte->arbolReporte();
     break;
 case 'editarReporte':
     require_once "ActionReporte.php";
     $o_ActionReporte = new ActionReporte();
     $resultado = $o_ActionReporte->editarReporte($parametros["p2"]);
     break;
 case 'listaEtiqueta':
     require_once "ActionReporte.php";
     header("Content-type: text/xml");