AbcAeffchen\SepaUtilities\SepaUtilities::sanitize
Tries to sanitize the the input so it fits in the field.
Signature
public function sanitize(string
$field,
mixed
$input,
[integer
$flags = 0] )
Parameters
$field
—
string
- Valid fields are: 'ultmtcdrt', 'ultmtdebtr',
'orgnlcdtrschmeid_nm', 'initgpty', 'cdtr', 'dbtr', 'rmtinf'
$input
—
mixed
$flags
—
integer
- Flags used in replaceSpecialChars()
Returns
- mixed|false
- The sanitized input or false if the input is not sanitizeable or
invalid also after sanitizing.