2002.1. Zend\Validator\Iban
Validates IBAN Numbers (International Bank Account Numbers)
2002.1.1. Methods
2002.1.1.1. __construct
-
__construct()
Sets validator options
Parameters: | array|Traversable – OPTIONAL |
2002.1.1.2. getCountryCode
-
getCountryCode()
Returns the optional country code by ISO 3166-1
2002.1.1.3. setCountryCode
-
setCountryCode()
Sets an optional country code by ISO 3166-1
Parameters: | string|null – |
Return type: | Iban provides a fluent interface |
Throws : | ExceptionInvalidArgumentException |
2002.1.1.4. allowNonSepa
-
allowNonSepa()
Returns the optional allow non-sepa countries setting
2002.1.1.5. setAllowNonSepa
-
setAllowNonSepa()
Sets the optional allow non-sepa countries setting
Parameters: | bool – |
Return type: | Iban provides a fluent interface |
2002.1.1.6. isValid
-
isValid()
Returns true if $value is a valid IBAN
Parameters: | string – |
Return type: | bool |
2002.1.2. Constants
2002.1.2.1. NOTSUPPORTED
2002.1.2.2. SEPANOTSUPPORTED
2002.1.2.3. FALSEFORMAT
2002.1.2.4. CHECKFAILED