]> granicus.if.org Git - php/commitdiff
* update PEAR::isError phpdoc
authorStig Bakken <ssb@php.net>
Mon, 10 Feb 2003 14:27:21 +0000 (14:27 +0000)
committerStig Bakken <ssb@php.net>
Mon, 10 Feb 2003 14:27:21 +0000 (14:27 +0000)
pear/PEAR.php

index 48569f9dabaf2ad5720c525cda74008430012d50..ebaf837d947b999544a8f737b87f511bacad3631 100644 (file)
@@ -223,6 +223,8 @@ class PEAR
      * 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
      */