OXID eShop CE
4.9.7
|
Public Member Functions | |
isValidCard ($sNumber, $sType="", $sDate="") |
Protected Member Functions | |
_isValidType ($sType, $sNumber) | |
_isExpired ($sDate) | |
_isValidNumer ($sNumber) |
Protected Attributes | |
$_aCardsInfo |
Credit card validation class
Definition at line 7 of file oxccvalidator.php.
|
protected |
Checks credit card expiration date. Returns TRUE if card is not expired
string | $sDate | credit card type |
Definition at line 54 of file oxccvalidator.php.
|
protected |
checks credit card number. Returns TRUE if card number is valid
string | $sNumber | credit card number |
Definition at line 79 of file oxccvalidator.php.
|
protected |
Checks credit card type. Returns TRUE if card is valid
string | $sType | credit card type |
string | $sNumber | credit card number |
Definition at line 35 of file oxccvalidator.php.
oxCcValidator::isValidCard | ( | $sNumber, | |
$sType = "" , |
|||
$sDate = "" |
|||
) |
Checks if provided credit card information is valid. Returns TRUE if valid
object | $sNumber | credit card number |
string | $sType | credit card type [optional] |
string | $sDate | card expiration date [optional] |
Definition at line 114 of file oxccvalidator.php.
|
protected |
Definition at line 15 of file oxccvalidator.php.