/core/validation/CreditCardValidator.class.php

Description

PHP2Go Web Development Framework

Copyright (c) 2002-2007 Marcos Pont

LICENSE:

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Classes
Class Description
CreditCardValidator Validates credit card numbers
Constants
CREDIT_CARD_TYPE_AX = 3 (line 43)

American Express credit card

CREDIT_CARD_TYPE_DC = 4 (line 47)

Diners Club credit card

CREDIT_CARD_TYPE_DS = 5 (line 51)

Discovery credit card

CREDIT_CARD_TYPE_JC = 6 (line 55)

JCB credit card

CREDIT_CARD_TYPE_MC = 1 (line 35)

Mastercard credit card

CREDIT_CARD_TYPE_VS = 2 (line 39)

VISA credit card

Documentation generated on Sun, 07 Oct 2007 19:21:52 -0300 by phpDocumentor 1.3.2