function AltaModSolucion($id, $usuario, $strDescResponsableAfect, $strDocAplicable, $strProvAfectado, $strAccionPropuesta) { //Validación datos de entrada.---------------------------------------- if (!isset($strDescResponsableAfect)) { $strDescResponsableAfect = ""; } if (!isset($strDocAplicable)) { $strDocAplicable = ""; } if (!isset($strProvAfectado)) { $strProvAfectado = ""; } if (!isset($strAccionPropuesta)) { $strAccionPropuesta = ""; } //limitamos el campo strDescResponsableAfect a 300 caracteres $strDescResponsableAfect = substr($strDescResponsableAfect, 0, 300); $strAccionPropuesta = substr($strAccionPropuesta, 0, 300); //damos de alta en la capa CADRecl require_once '../CAD/clsCADRecl.php'; $clsCADRecl = new clsCADRecl(); $clsCADRecl->setStrBD($this->getStrBD()); return $clsCADRecl->AltaModSolucion($id, $usuario, $strDescResponsableAfect, $strDocAplicable, $strProvAfectado, $strAccionPropuesta); }