cvs: php4 /pear PEAR.php

From: Date: Wed, 23 May 2001 12:37:43 +0000
Subject: cvs: php4 /pear PEAR.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-179@lists.php.net to get a copy of this message
ssb Wed May 23 05:37:43 2001 EDT Modified files: /php4/pear PEAR.php Log: * added missing doc for PEAR::raiseError skipmsg parameter Index: php4/pear/PEAR.php diff -u php4/pear/PEAR.php:1.4 php4/pear/PEAR.php:1.5 --- php4/pear/PEAR.php:1.4 Sat Apr 21 18:09:13 2001 +++ php4/pear/PEAR.php Wed May 23 05:37:43 2001 @@ -17,7 +17,7 @@ // | Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: PEAR.php,v 1.4 2001/04/22 01:09:13 ssb Exp $ +// $Id: PEAR.php,v 1.5 2001/05/23 12:37:43 ssb Exp $ // define('PEAR_ERROR_RETURN', 1); @@ -239,9 +239,11 @@ * 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 @@ * @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)) {

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