Validate_Finance
[ class tree: Validate_Finance ] [ index: Validate_Finance ] [ all elements ]

Class: Validate_Finance_IBAN

Source Location: /Validate_Finance-0.5.6/Validate/Finance/IBAN.php

Class Overview


Validate and process IBAN (international bank account numbers)


Author(s):

Copyright:

  • 1997-2009 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 54]
Validate and process IBAN (international bank account numbers)


[ Top ]


Method Detail

Validate_Finance_IBAN (Constructor)   [line 452]

Validate_Finance_IBAN Validate_Finance_IBAN( [string $iban = ''])

Class constructor
  • Access: public

Parameters:

string   $iban     IBAN to be validated / processed

[ Top ]

errorMessage   [line 690]

string errorMessage( int $value)

Return a textual error message for an IBAN error code
  • Return: error message
  • Access: public

Parameters:

int   $value     error code

[ Top ]

getBankaccount   [line 657]

string getBankaccount( )

Returns the bankaccount of the IBAN
  • Access: public

[ Top ]

getBankcode   [line 625]

string getBankcode( )

Returns the bankcode of the IBAN
  • Access: public

[ Top ]

getCountrycode   [line 583]

string getCountrycode( )

Returns the countrycode of the IBAN
  • Access: public

[ Top ]

getCountryname   [line 608]

string getCountryname( )

Returns the countryname of the IBAN If the name can not be determined then return the country code.
  • Access: public

[ Top ]

getErrorcode   [line 572]

integer getErrorcode( )

Returns errorcode corresponding to last validation
  • Return: errorcode
  • Access: public

[ Top ]

getIBAN   [line 464]

string getIBAN( )

Returns the current IBAN
  • Access: public

[ Top ]

setIBAN   [line 477]

void setIBAN( [string $iban = ''])

Sets the current IBAN to a new value
  • Access: public

Parameters:

string   $iban     IBAN to be validated / processed

[ Top ]

validate   [line 491]

boolean validate( [string $arg = null])

Performs validation of the IBAN
  • Return: true if no error found
  • Access: public

Parameters:

string   $arg     optional parameter for calling validate as static function

[ Top ]


Documentation generated on Fri, 13 Apr 2012 03:00:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.