Methods summary
public
|
|
public
DataBackend
|
|
public
|
#
update( )
Updates bav with a new bundesbank file.
Updates bav with a new bundesbank file.
You might consider enabling automatic update with setting AutomaticUpdatePlan
as configuration.
Throws
DataBackendException
See
|
public
boolean
|
#
isValidBankAccount( string $bankID, string $account )
Returns true if both the bank exists and the account is valid.
Returns true if both the bank exists and the account is valid.
Parameters
- $bankID
string $bankID
- $account
string $account
Returns
boolean
Throws
DataBackendException for some reason the validator might not be implemented
See
|
public
boolean
|
#
isValidAccount( string $account )
Returns true if the account is valid for the current context.
Returns true if the account is valid for the current context.
You have to have called isValidBank() before! If the current context is no
valid bank every account will validate to true.
Parameters
Returns
boolean
Throws
InvalidContextException isValidBank() was not called before.
See
|
public
boolean
|
#
isValidBank( string $bankID )
Returns true if a bank exists
Returns true if a bank exists
Parameters
Returns
boolean
Throws
DataBackendException
See
ContextValidation::isValidBank()
|
public
malkusch\bav\Agency
|
#
getMainAgency( string $bankID )
Every bank has one main agency.
Every bank has one main agency.
This agency is not included in getAgencies().
Parameters
- $bankID
string $bankID Bank id (Bankleitzahl)
Returns
Throws
DataBackendException
BankNotFoundException
See
|
public
malkusch\bav\Agency[]
|
#
getAgencies( string $bankID )
A bank may have more agencies.
A bank may have more agencies.
The main agency is not included in this list.
Parameters
- $bankID
string $bankID Bank id (Bankleitzahl)
Returns
Throws
DataBackendException
BankNotFoundException
|
public
Bank
|
#
getBank( string $bankID )
With this method you get the Bank objects for certain IDs. Note that a call
to this method with an identical id will return the same objects.
With this method you get the Bank objects for certain IDs. Note that a call
to this method with an identical id will return the same objects.
Parameters
Returns
Bank
Throws
BankNotFoundException
DataBackendException
See
DataBackend::isValidBank()
|
public
malkusch\bav\Agency[]
|
#
getBICAgencies( string $bic )
Returns bank agencies for a given BIC.
Returns bank agencies for a given BIC.
Parameters
Returns
|
public
boolean
|
#
isValidBIC( string $bic )
Returns if a bic is valid.
Returns if a bic is valid.
Parameters
Returns
boolean
|
public
array
|
#
getValidBankFilterCallback( )
Returns the third call back parameter for filter_var() for validating a
bank.
Returns the third call back parameter for filter_var() for validating a
bank.
filter_var($bankID, FILTER_CALLBACK,
$bav->getValidBankFilterCallback());
Returns
array
See
|
public
array
|
#
getValidAccountFilterCallback( )
Returns the third call back parameter for filter_var() for validating a bank
account.
Returns the third call back parameter for filter_var() for validating a bank
account.
filter_var($account, FILTER_CALLBACK,
$bav->getValidBankFilterCallback());
Returns
array
See
|