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

Class: Validate_Finance_IBAN

Source Location: /Validate_Finance-0.5.5/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 51]
Validate and process IBAN (international bank account numbers)


[ Top ]


Method Detail

Validate_Finance_IBAN (Constructor)   [line 411]

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

Class constructor
  • Access: public

Parameters:

string   $iban   —  IBAN to be validated / processed

[ Top ]

errorMessage   [line 648]

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 615]

string getBankaccount( )

Returns the bankaccount of the IBAN
  • Access: public

[ Top ]

getBankcode   [line 583]

string getBankcode( )

Returns the bankcode of the IBAN
  • Access: public

[ Top ]

getCountrycode   [line 541]

string getCountrycode( )

Returns the countrycode of the IBAN
  • Access: public

[ Top ]

getCountryname   [line 566]

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 530]

integer getErrorcode( )

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

[ Top ]

getIBAN   [line 423]

string getIBAN( )

Returns the current IBAN
  • Access: public

[ Top ]

setIBAN   [line 436]

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 450]

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 Mon, 11 Mar 2019 15:34:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.