cvs: pear /HTML_Progress2/Progress2 Error.php
| From: | Laurent Laville | Date: | Mon, 15 Jan 2007 13:09:45 +0000 |
| Subject: | cvs: pear /HTML_Progress2/Progress2 Error.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44225@lists.php.net to get a copy of this message | ||
farell Mon Jan 15 13:09:45 2007 UTC
Modified files:
/pear/HTML_Progress2/Progress2 Error.php
Log:
- add handle of two new error code for ajax drivers
http://cvs.php.net/viewvc.cgi/pear/HTML_Progress2/Progress2/Error.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/HTML_Progress2/Progress2/Error.php
diff -u pear/HTML_Progress2/Progress2/Error.php:1.4 pear/HTML_Progress2/Progress2/Error.php:1.5
--- pear/HTML_Progress2/Progress2/Error.php:1.4 Tue Jan 2 10:58:27 2007
+++ pear/HTML_Progress2/Progress2/Error.php Mon Jan 15 13:09:45 2007
@@ -15,7 +15,7 @@
* @author Laurent Laville <pear@laurent-laville.org>
* @copyright 2005-2007 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
- * @version CVS: $Id: Error.php,v 1.4 2007/01/02 10:58:27 farell Exp $
+ * @version CVS: $Id: Error.php,v 1.5 2007/01/15 13:09:45 farell Exp $
* @link http://pear.php.net/package/HTML_Progress2
* @since File available since Release 2.0.0RC1
*/
@@ -355,7 +355,14 @@
'method is deprecated '
. 'use %newmethod% instead of %oldmethod%',
HTML_PROGRESS2_ERROR_INVALID_OPTION =>
- '%element% option "%prop%" is not allowed'
+ '%element% option "%prop%" is not allowed',
+ HTML_PROGRESS2_ERROR_INVALID_RESOURCE =>
+ 'invalid resource, parameter #%paramnum% '
+ . '"%var%" expecting %expected%,'
+ . ' instead got "%resource%" does not exists',
+ HTML_PROGRESS2_ERROR_ABSTRACT =>
+ 'method "%method%" is is an abstract method that must be '
+ . 'overridden in a child class',
);
return $messages;
}