--- a/web/lib/Zend/Form/Element/Button.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Form/Element/Button.php Thu Mar 21 19:50:53 2013 +0100
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -28,9 +28,9 @@
* @category Zend
* @package Zend_Form
* @subpackage Element
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Button.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Button.php 25189 2013-01-08 08:32:43Z frosch $
*/
class Zend_Form_Element_Button extends Zend_Form_Element_Submit
{
@@ -39,4 +39,18 @@
* @var string
*/
public $helper = 'formButton';
+
+ /**
+ * Validate element value (pseudo)
+ *
+ * There is no need to reset the value
+ *
+ * @param mixed $value Is always ignored
+ * @param mixed $context Is always ignored
+ * @return boolean Returns always TRUE
+ */
+ public function isValid($value, $context = null)
+ {
+ return true;
+ }
}