cvs: pear /Validate/Validate ISPN.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Fri, 21 Jan 2005 17:43:27 +0000 |
| Subject: | cvs: pear /Validate/Validate ISPN.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-28724@lists.php.net to get a copy of this message | ||
dufuz Fri Jan 21 12:43:27 2005 EDT
Modified files:
/pear/Validate/Validate ISPN.php
Log:
Move @access add @see
http://cvs.php.net/diff.php/pear/Validate/Validate/ISPN.php?r1=1.2&r2=1.3&ty=u
Index: pear/Validate/Validate/ISPN.php
diff -u pear/Validate/Validate/ISPN.php:1.2 pear/Validate/Validate/ISPN.php:1.3
--- pear/Validate/Validate/ISPN.php:1.2 Thu Jan 20 21:52:56 2005
+++ pear/Validate/Validate/ISPN.php Fri Jan 21 12:43:26 2005
@@ -17,7 +17,7 @@
// | Damien Seguy <dams@nexen.net> |
// +----------------------------------------------------------------------+
//
-// $Id: ISPN.php,v 1.2 2005/01/21 02:52:56 dufuz Exp $
+// $Id: ISPN.php,v 1.3 2005/01/21 17:43:26 dufuz Exp $
/**
* ISPN is also known as International Standard Product Numbers
@@ -34,9 +34,9 @@
*
* This function checks given number according
*
- * @access public
* @param string $isbn number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
* @author Damien Seguy <dams@nexen.net>
*/
function isbn($isbn)
@@ -83,9 +83,9 @@
* ISSN identifies periodical publications:
* http://www.issn.org
*
- * @access public
* @param string $issn number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
* @author Piotr Klaban <makler@man.torun.pl>
*/
function issn($issn)
@@ -114,9 +114,9 @@
* or an element in a multi-media kit:
* http://www.ismn-international.org/
*
- * @access public
* @param string $ismn ISMN number
* @return bool true if number is valid, otherwise false
+ * @access public
* @author Piotr Klaban <makler@man.torun.pl>
*/
function ismn($ismn)
@@ -144,9 +144,10 @@
* http://www.ean-ucc.org/
* http://www.uc-council.org/checkdig.htm
*
- * @access public
* @param string $ean number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
+ * @see Validate_ISPN::_process()
* @author Piotr Klaban <makler@man.torun.pl>
*/
function ean8($ean)
@@ -163,9 +164,10 @@
* http://www.ean-ucc.org/
* http://www.uc-council.org/checkdig.htm
*
- * @access public
* @param string $ean number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
+ * @see Validate_ISPN::_process()
* @author Piotr Klaban <makler@man.torun.pl>
*/
function ean13($ean)
@@ -182,9 +184,10 @@
* http://www.ean-ucc.org/
* http://www.uc-council.org/checkdig.htm
*
- * @access public
* @param string $ean number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
+ * @see Validate_ISPN::_process()
* @author Piotr Klaban <makler@man.torun.pl>
*/
function ean14($ean)
@@ -201,9 +204,10 @@
* http://www.ean-ucc.org/
* http://www.uc-council.org/checkdig.htm
*
- * @access public
* @param string $ucc number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
+ * @see Validate_ISPN::_process()
* @author Piotr Klaban <makler@man.torun.pl>
*/
function ucc12($ucc)
@@ -220,9 +224,10 @@
* http://www.ean-ucc.org/
* http://www.uc-council.org/checkdig.htm
*
- * @access public
* @param string $sscc number (only numeric chars will be considered)
* @return bool true if number is valid, otherwise false
+ * @access public
+ * @see Validate_ISPN::_process()
* @author Piotr Klaban <makler@man.torun.pl>
*/
function sscc($sscc)
@@ -234,11 +239,12 @@
/**
* Does all the work for EAN8, EAN13, EAN14, UCC12 and SSCC
*
- * @access private
* @param int $data number (only numeric chars will be considered)
* @param int $lenght required length of number string
* @param array $weights holds the weight that will be used in calculations for the validation
* @return bool true if number is valid, otherwise false
+ * @access private
+ * @see Validate::_checkControlNumber()
*/
function _process($data, $length, &$weights)
{