2008年9月25日星期四

Re: [fw-mvc] File validators

Maybe because the breakChainOnFailure feature was already added for release
1.6.2 in trunk ?

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message -----
From: "Neil Garb" <neil.garb@gmail.com>
To: "Zend Framework MVC" <fw-mvc@lists.zend.com>
Sent: Thursday, September 25, 2008 6:18 PM
Subject: [fw-mvc] File validators


> 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
>

没有评论: