cvs: peardoc /en/core/pear/pear seterrorhandling.xml
| From: | Greg Beaver | Date: | Sat, 04 Oct 2003 18:50:08 +0000 |
| Subject: | cvs: peardoc /en/core/pear/pear seterrorhandling.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1556@lists.php.net to get a copy of this message | ||
cellog Sat Oct 4 14:50:08 2003 EDT
Modified files:
/peardoc/en/core/pear/pear seterrorhandling.xml
Log:
fix typos, add $Revision$ for translators
Index: peardoc/en/core/pear/pear/seterrorhandling.xml
diff -u peardoc/en/core/pear/pear/seterrorhandling.xml:1.7
peardoc/en/core/pear/pear/seterrorhandling.xml:1.8
--- peardoc/en/core/pear/pear/seterrorhandling.xml:1.7 Tue Aug 26 01:32:49 2003
+++ peardoc/en/core/pear/pear/seterrorhandling.xml Sat Oct 4 14:50:08 2003
@@ -1,3 +1,4 @@
+<!-- $Revision: 1.8 $ -->
<refentry id="core.pear.pear.seterrorhandling">
<refnamediv>
<refname>PEAR::setErrorHandling()</refname>
@@ -189,8 +190,9 @@
* the "static" access modifier. In PHP 4, $this is set, but is not
* set to the myClass object, so don't use it!
* @param PEAR_Error The error object
+ * @static
*/
- function handleErr($error)
+ function handleErrStatic($error)
{
print 'static ' . $error->getMessage() . "...is working\n";
}
@@ -201,7 +203,7 @@
*/
function standardCallback($error)
{
- print 'normal function callback: ' . $error-getMessage();
+ print 'normal function callback: ' . $error->getMessage();
}
// This causes the printing of three messages through error callbacks:
// "custom handler...is working"