Bug #5878 [Opn->Csd]: Possibly typo in PEAR_ErrorStack
| From: | fa@php.net | Date: | Wed, 30 Nov 2005 03:23:14 +0000 |
| Subject: | Bug #5878 [Opn->Csd]: Possibly typo in PEAR_ErrorStack | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7249@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=5878&edit=1
ID: 5878
Updated by: fa@php.net
Reported By: takagi at php dot net
-Status: Open
+Status: Closed
Id: 5878
Type: Bug
Package: Documentation
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
thanks for pointing this out
Previous Comments:
------------------------------------------------------------------------
[2005-11-06 10:44:29] takagi at php dot net
Description:
------------
In "Custom Error Message Generation section of
the documentation of PEAR_ErrorStack (*1), it says
"There are *three* methods of PEAR_ErrorStack designed for ... "
but next sentence says
"To use them, you must do one of *two* things:"
actually, there are three examples in the page.
1. Call PEAR_ErrorStack::setErrorMessageTemplate(), ...
2. Call PEAR_ErrorStack::setMessageCallback(), ...
3. Extend PEAR_ErrorStack with your own class, ...
(*1) http://pear.php.net/manual/en/core.pear.pear-errorstack.intro.php
Expected result:
----------------
Index: en/core/pear/pear-errorstack/intro.xml
===================================================================
RCS file: /repository/peardoc/en/core/pear/pear-errorstack/intro.xml,v
retrieving revision 1.13
diff -u -r1.13 intro.xml
--- en/core/pear/pear-errorstack/intro.xml 5 Nov 2005 08:56:08
-0000 1.13
+++ en/core/pear/pear-errorstack/intro.xml 6 Nov 2005 15:30:51
-0000
@@ -370,7 +370,7 @@
There are three methods of PEAR_ErrorStack designed for
use with generating error messages efficiently.
- To use them, you must do one of two things:
+ To use them, you must do one of three things:
<itemizedlist>
<listitem>
<para>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=5878&edit=1