I just had answers about this:
http://www.nabble.com/Breakchain-on-Zend_Form_Element_File-fail-td19649804.html
Get the trunk version.
Yann
Neil Garb a écrit :
> Hi all
>
> Why does addValidator() throw breakChainOnFailure out when adding a
> validator to a File element?
>
> This is the code for Zend_Form_Element_File::addValidator():
>
> public function addValidator($validator, $breakChainOnFailure = false,
> $options = array())
> {
> $adapter = $this->getTransferAdapter();
> $adapter->addValidator($validator, $options);
> return $this;
> }
>
> As you can see $breakChainOnFailure is being ignored.
>
> - Neil
没有评论:
发表评论