--- a/web/lib/Zend/Form/Element/Submit.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Form/Element/Submit.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: Submit.php 22328 2010-05-30 15:09:06Z bittarman $
+ * @version $Id: Submit.php 24593 2012-01-05 20:35:02Z matthew $
*/
class Zend_Form_Element_Submit extends Zend_Form_Element_Xhtml
{
@@ -52,7 +52,7 @@
if (is_string($spec) && ((null !== $options) && is_string($options))) {
$options = array('label' => $options);
}
-
+
if (!isset($options['ignore'])) {
$options['ignore'] = true;
}
@@ -75,10 +75,10 @@
if (null === $value) {
$value = $this->getName();
- }
- if (null !== ($translator = $this->getTranslator())) {
- return $translator->translate($value);
+ if (null !== ($translator = $this->getTranslator())) {
+ return $translator->translate($value);
+ }
}
return $value;
@@ -108,7 +108,7 @@
*
* Uses only 'Submit' and 'DtDdWrapper' decorators by default.
*
- * @return void
+ * @return Zend_Form_Element_Submit
*/
public function loadDefaultDecorators()
{