API Documentation

Validate/Iban.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
version
$Id: Iban.php 22401 2010-06-09 19:25:49Z thomas $
Classes
Zend_Validate_Iban

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Validate_Iban

Extends from
Zend_Validate_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
Constants
NOTSUPPORTED
FALSEFORMAT
CHECKFAILED
Properties
$_messageTemplates
$_locale
$_ibanregex
Methods
__construct
getLocale
setLocale
isValid

Description

Validates IBAN Numbers (International Bank Account Numbers)

Constants

NOTSUPPORTED

 NOTSUPPORTED = 'ibanNotSupported'

Details

value
ibanNotSupported

FALSEFORMAT

 FALSEFORMAT = 'ibanFalseFormat'

Details

value
ibanFalseFormat

CHECKFAILED

 CHECKFAILED = 'ibanCheckFailed'

Details

value
ibanCheckFailed

Properties

$_ibanregex

array $_ibanregex = 'array'

IBAN regexes by region

Details

$_ibanregex
array
visibility
protected
default
array
final
false
static
false

$_locale

string|Zend_Locale|null $_locale = ''

Optional locale

Details

$_locale
string|Zend_Locale|null
visibility
protected
default
final
false
static
false

$_messageTemplates

array $_messageTemplates = 'array'

Validation failure message template definitions

Details

$_messageTemplates
array
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( string|Zend_Config|Zend_Locale $locale = null ) : void

Sets validator options

Arguments
$locale
stringZend_ConfigZend_Locale
OPTIONAL
Details
visibility
public
final
false
static
false

getLocale

getLocale( ) : string|Zend_Locale|null

Returns the locale option

Output
string|Zend_Locale|null
Details
visibility
public
final
false
static
false

isValid

isValid( string $value ) : boolean

Defined by Zend_Validate_Interface

Returns true if $value is a valid IBAN

Arguments
$value
string
Output
boolean
Details
visibility
public
final
false
static
false

setLocale

setLocale( string|Zend_Locale $locale = null ) : Zend_Validate_Date

Sets the locale option

Arguments
$locale
stringZend_Locale
Output
Zend_Validate_Date
provides a fluent interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.