cvs: pear /Validate/Validate/Finance CreditCard.php

From: Date: Wed, 20 Jul 2005 14:58:52 +0000
Subject: cvs: pear /Validate/Validate/Finance CreditCard.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-33165@lists.php.net to get a copy of this message
jausions Wed Jul 20 10:58:52 2005 EDT Modified files: /pear/Validate/Validate/Finance CreditCard.php Log: Docblock update http://cvs.php.net/diff.php/pear/Validate/Validate/Finance/CreditCard.php?r1=1.10&r2=1.11&ty=u Index: pear/Validate/Validate/Finance/CreditCard.php diff -u pear/Validate/Validate/Finance/CreditCard.php:1.10 pear/Validate/Validate/Finance/CreditCard.php:1.11 --- pear/Validate/Validate/Finance/CreditCard.php:1.10 Tue Jul 5 10:47:43 2005 +++ pear/Validate/Validate/Finance/CreditCard.php Wed Jul 20 10:58:50 2005 @@ -18,7 +18,7 @@ * @author Philippe Jausions <Philippe.Jausions@11abacus.com> * @copyright 2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: CreditCard.php,v 1.10 2005/07/05 14:47:43 jausions Exp $ + * @version CVS: $Id: CreditCard.php,v 1.11 2005/07/20 14:58:50 jausions Exp $ * @link http://pear.php.net/package/Validate_Finance_CreditCard */ @@ -132,7 +132,12 @@ * Validates the credit card number against a type * * This method only checks for the type marker. It doesn't - * validate the card number. + * validate the card number. Some card "brands" share the same + * numbering system, so checking the card type against any of the + * sister brand will return the same result. + * + * For instance, if a $card is a MasterCard, type($card, 'EuroCard') + * will also return true. * * @param string $creditCard number (spaces and dashes tolerated) * @param string $cardType type/brand of card (case insensitive)

« previous php.pear.cvs (#33165) next »