oxInputValidator Class Reference

List of all members.

Detailed Description

Includes credit card validation class. Calss for validating input

Definition at line 12 of file oxinputvalidator.php.

Public Member Functions

 validateBasketAmount ($dAmount)
 validatePaymentInputData ($sPaymentId, &$aDynvalue)

Protected Attributes


Member Function Documentation

oxInputValidator.validateBasketAmount ( dAmount  ) 

Validates basket amount

float $dAmount amount of article
oxArticleInputException if amount is not numeric or smaller 0

Definition at line 63 of file oxinputvalidator.php.

oxInputValidator.validatePaymentInputData ( sPaymentId,
&$  aDynvalue 

Validates payment input data for credit card and debit note

string $sPaymentId the payment id of current payment
array &$aDynvalue values of payment

Definition at line 91 of file oxinputvalidator.php.

Member Data Documentation

oxInputValidator.$_aRequiredCCFields [protected]

Initial value:

 array( 'kktype',

Definition at line 19 of file oxinputvalidator.php.

oxInputValidator.$_aPossibleCCType [protected]

Initial value:

 array( 'mcd', // Master Card
                                         'vis', // Visa
                                         'amx', // American Express
                                         'dsc', // Discover
                                         'dnc', // Diners Club
                                         'jcb', // JCB
                                         'swi', // Switch
                                         'dlt', // Delta
                                         'enr'  // EnRoute

Definition at line 32 of file oxinputvalidator.php.

oxInputValidator.$_aRequiredDCFields [protected]

Initial value:

 array( 'lsbankname',

Definition at line 48 of file oxinputvalidator.php.

The documentation for this class was generated from the following file:

Generated on Wed Apr 22 12:31:32 2009 for OXID eShop CE by  doxygen 1.5.5