2008年9月25日星期四

Re: [fw-mvc] File validators

Hi

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

没有评论: