Bug #5878 [NEW]: Possibly typo in PEAR_ErrorStack
| From: | takagi at php dot net | Date: | Sun, 06 Nov 2005 15:44:29 +0000 |
| Subject: | Bug #5878 [NEW]: Possibly typo in PEAR_ErrorStack | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7156@lists.php.net to get a copy of this message | ||
From: takagi at php dot net
Operating system: Irrelevant
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: Possibly typo in PEAR_ErrorStack
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 bug report at http://pear.php.net/bugs/bug.php?id=5878&edit=1
--