Moodle  2.2.1
http://www.collinsharper.com
Zend_Validate_Iban Class Reference
Inheritance diagram for Zend_Validate_Iban:
Collaboration diagram for Zend_Validate_Iban:

Public Member Functions

 __construct ($locale=null)
 getLocale ()
 setLocale ($locale=null)
 isValid ($value)

Data Fields

const NOTSUPPORTED = 'ibanNotSupported'
const FALSEFORMAT = 'ibanFalseFormat'
const CHECKFAILED = 'ibanCheckFailed'

Protected Attributes

 $_messageTemplates
 $_locale
 $_ibanregex

Detailed Description

Definition at line 35 of file Iban.php.


Constructor & Destructor Documentation

__construct ( locale = null)

Sets validator options

Parameters:
string | Zend_Config | Zend_Locale$localeOPTIONAL
Returns:
void

Definition at line 112 of file Iban.php.

Here is the call graph for this function:


Member Function Documentation

getLocale ( )

Returns the locale option

Returns:
string|Zend_Locale|null

Definition at line 143 of file Iban.php.

isValid ( value)

Defined by Zend_Validate_Interface

Returns true if $value is a valid IBAN

Parameters:
string$value
Returns:
boolean

Implements Zend_Validate_Interface.

Definition at line 177 of file Iban.php.

Here is the call graph for this function:

setLocale ( locale = null)

Sets the locale option

Parameters:
string | Zend_Locale$locale
Returns:
Zend_Validate_Date provides a fluent interface

Definition at line 154 of file Iban.php.

Here is the caller graph for this function:


Field Documentation

$_ibanregex [protected]

Definition at line 64 of file Iban.php.

$_locale [protected]

Definition at line 57 of file Iban.php.

$_messageTemplates [protected]
Initial value:
 array(
        self::NOTSUPPORTED => "Unknown country within the IBAN '%value%'",
        self::FALSEFORMAT  => "'%value%' has a false IBAN format",
        self::CHECKFAILED  => "'%value%' has failed the IBAN check",
    )

Reimplemented from Zend_Validate_Abstract.

Definition at line 46 of file Iban.php.

const CHECKFAILED = 'ibanCheckFailed'

Definition at line 39 of file Iban.php.

const FALSEFORMAT = 'ibanFalseFormat'

Definition at line 38 of file Iban.php.

const NOTSUPPORTED = 'ibanNotSupported'

Definition at line 37 of file Iban.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations