break; case 'preeditaArea': require_once "ActionMantenimientoGeneral.php"; $o_ActionMantenimientoGeneral = new ActionMantenimientoGeneral(); $resultado = $o_ActionMantenimientoGeneral->preeditaArea($parametros["p2"]); break; case 'preeditaAreaXSedeEmpresa': require_once "ActionMantenimientoGeneral.php"; $o_ActionMantenimientoGeneral = new ActionMantenimientoGeneral(); $resultado = $o_ActionMantenimientoGeneral->preeditaAreaXSedeEmpresa($parametros["p2"], $parametros["p3"], $parametros["p4"]); break; case 'tablaSucursalesXidArea': require_once "ActionMantenimientoGeneral.php"; header("Content-type: text/xml"); $o_ActionMantenimientoGeneral = new ActionMantenimientoGeneral(); $resultado = $o_ActionMantenimientoGeneral->tablaSucursalesXidArea($parametros["p2"]); break; case 'prueba': require_once "ActionRrhh.php"; $o_ActionRrhh = new ActionRrhh(); $resultado = $o_ActionRrhh->prueba(); break; case 'grabarCeCeSedeEmpresaArea': require_once "ActionRrhh.php"; $o_ActionRrhh = new ActionRrhh(); $datos = array(); $datos["p1"] = $parametros["p3"]; //idCC $datos["p2"] = $parametros["p2"]; //idSEA $resultado = $o_ActionRrhh->grabarAreaCCosto($datos);