cvs: php4 /pear PEAR.php
| From: | Stig Bakken | Date: | Mon, 10 Feb 2003 14:27:22 +0000 |
| Subject: | cvs: php4 /pear PEAR.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8800@lists.php.net to get a copy of this message | ||
ssb Mon Feb 10 09:27:22 2003 EDT
Modified files:
/php4/pear PEAR.php
Log:
* update PEAR::isError phpdoc
Index: php4/pear/PEAR.php
diff -u php4/pear/PEAR.php:1.55 php4/pear/PEAR.php:1.56
--- php4/pear/PEAR.php:1.55 Mon Feb 10 09:26:19 2003
+++ php4/pear/PEAR.php Mon Feb 10 09:27:21 2003
@@ -18,7 +18,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: PEAR.php,v 1.55 2003/02/10 14:26:19 ssb Exp $
+// $Id: PEAR.php,v 1.56 2003/02/10 14:27:21 ssb Exp $
//
define('PEAR_ERROR_RETURN', 1);
@@ -223,6 +223,8 @@
* Tell whether a value is a PEAR error.
*
* @param mixed $data the value to test
+ * @param int $code if $data is an error object, return true
+ * only if $obj->getCode() == $code
* @access public
* @return bool true if parameter is an error
*/