Permalink
Browse files

Specify input error_message via factory

  • Loading branch information...
1 parent b11af3f commit e06fbfc839736d6c7a5c58d2853a57ecfc70f1d7 @davidwindell committed Mar 26, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 library/Zend/InputFilter/Factory.php
@@ -153,6 +153,9 @@ public function createInput($inputSpecification)
$input->setRequired(!$value);
}
break;
+ case 'error_message':
+ $input->setErrorMessage($value);
+ break;
case 'fallback_value':
$input->setFallbackValue($value);
break;

0 comments on commit e06fbfc

Please sign in to comment.