Public Member Functions | Protected Attributes

oxSepaValidator Class Reference

List of all members.

Public Member Functions

 isValidBIC ($sBIC)
 isValidIBAN ($sIBAN)
 isValidIBANRegistry ($aIBANRegistry=null)
 setIBANRegistry ($aIBANRegistry)
 getIBANRegistry ()

Protected Attributes

 $_aIBANRegistry

Detailed Description

SEPA (Single Euro Payments Area) validation class

Definition at line 7 of file oxsepavalidator.php.


Member Function Documentation

oxSepaValidator.getIBANRegistry (  ) 

Get IBAN length by country data

Returns:
array

Definition at line 132 of file oxsepavalidator.php.

oxSepaValidator.isValidBIC ( sBIC  ) 

Business identifier code validation

Structure

  • 4 letters: Institution Code or bank code.
  • 2 letters: ISO 3166-1 alpha-2 country code
  • 2 letters or digits: location code
  • 3 letters or digits: branch code, optional
Parameters:
string $sBIC code to check
Returns:
bool

Definition at line 22 of file oxsepavalidator.php.

oxSepaValidator.isValidIBAN ( sIBAN  ) 

International bank account number validation

An IBAN is validated by converting it into an integer and performing a basic mod-97 operation (as described in ISO 7064) on it. If the IBAN is valid, the remainder equals 1.

Parameters:
string $sBIC code to check
Returns:
bool

Definition at line 37 of file oxsepavalidator.php.

oxSepaValidator.isValidIBANRegistry ( aIBANRegistry = null  ) 

Validation of IBAN registry

Parameters:
array $aIBANRegistry
Returns:
bool

Definition at line 81 of file oxsepavalidator.php.

oxSepaValidator.setIBANRegistry ( aIBANRegistry  ) 

Set IBAN Registry

Parameters:
array $aIBANRegistry
Returns:
bool

Definition at line 116 of file oxsepavalidator.php.


Member Data Documentation

oxSepaValidator.$_aIBANRegistry [protected]

Definition at line 140 of file oxsepavalidator.php.


The documentation for this class was generated from the following file: