AbcAeffchen\SepaUtilities\SepaUtilities::check
Checks if the input holds for the field.
Signature
public function check(string
$field,
mixed
$input,
[array
$options = null,
[int
$version = null]] )
Parameters
$field
—
string
- Valid fields are: 'orgnlcdtrschmeid_id','ci','msgid','pmtid','pmtinfid',
'orgnlmndtid','mndtid','initgpty','cdtr','dbtr','orgnlcdtrschmeid_nm',
'ultmtcdrt','ultmtdebtr','rmtinf','orgnldbtracct_iban','iban','bic',
'ccy','amendment', 'btchbookg','instdamt','seqtp','lclinstrm',
'elctrncsgntr','reqdexctndt','purp','ctgypurp','orgnldbtragt'
$input
—
mixed
$options
—
array
- See `checkBIC()`, `checkIBAN()` and `checkLocalInstrument()` for details.
$version
—
int
- Can be used to specify one of the `SEPA_PAIN_*` constants.
Returns
- false|mixed
- The checked input or false, if it is not valid