Re: DB.php still not quite right ...
| From: | Colin Viebrock | Date: | Thu, 19 Apr 2001 21:38:54 +0000 |
| Subject: | Re: DB.php still not quite right ... | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-275@lists.php.net to get a copy of this message | ||
This seems to fix it (just had two variables switched):
--- old.PEAR.php Thu Apr 19 17:37:32 2001
+++ PEAR.php Thu Apr 19 17:38:04 2001
@@ -236,9 +236,9 @@
* handling applied. If the $mode and $options parameters are not
* specified, the object's defaults are used.
*
- * @param $message a text error message
* @param $code a numeric error code (it is up to your class
* to define these if you want to use codes)
+ * @param $message a text error message
* @param $mode One of PEAR_ERROR_RETURN, PEAR_ERROR_PRINT,
* PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE or
* PEAR_ERROR_CALLBACK.
@@ -262,7 +262,7 @@
* @since PHP 4.0.5
*/
- function &raiseError($message = null, $code = null, $mode = null,
+ function &raiseError($code = null, $message = null, $mode = null,
$options = null, $userinfo = null,
$error_class = null, $skipmsg = false)
{