]> granicus.if.org Git - php/commitdiff
* added missing doc for PEAR::raiseError skipmsg parameter
authorStig Bakken <ssb@php.net>
Wed, 23 May 2001 12:37:43 +0000 (12:37 +0000)
committerStig Bakken <ssb@php.net>
Wed, 23 May 2001 12:37:43 +0000 (12:37 +0000)
pear/PEAR.php

index fcf86225ce1c892ec4b26494b1ce4f580bf4f3d8..659c59d59a60c2509bb25cafa58f5ba9d8a19250 100644 (file)
@@ -239,9 +239,11 @@ class PEAR
      *                  is ignored.
      * @param $userinfo If you need to pass along for example debug
      *                  information, this parameter is meant for that.
-     *
      * @param $error_class The returned error object will be instantiated
      *                  from this class, if specified.
+     * @param $skipmsg  If true, raiseError will only pass error codes,
+     *                  the error message parameter will be dropped.
+     *
      *
      * @return object   a PEAR error object
      *
@@ -250,9 +252,13 @@ class PEAR
      * @since PHP 4.0.5
      */
 
-    function &raiseError($message = null, $code = null, $mode = null,
-                         $options = null, $userinfo = null,
-                         $error_class = null, $skipmsg = false)
+    function &raiseError($message = null,
+                         $code = null,
+                         $mode = null,
+                         $options = null,
+                         $userinfo = null,
+                         $error_class = null,
+                         $skipmsg = false)
     {
         if ($mode === null) {
             if (isset($this) && isset($this->_default_error_mode)) {