>
> There is only one file adapter because you have only one $_FILES input
> array.
> Having multiple file adapters would not work. This is mentioned, because
> the
> first would try to receive the files and the second would then throw an
> exception because there are no more files to receive.
>
> What you have in those two variables is the same adapter.
>
> And actually you are calling isUploaded on the adapter (which hold all
> uploaded files) and not the form element (where this new method does not
> exist for now).
>
Yes, I figured so. In that case It would make more sanse for the
getTransferAdapter() method to be located in the Zend_Form instead of
Zend_Form_Element_File, since that is the adapter that the form uses for all
file elements.
Don't you think so?
Regards,
Goran Juric
http://gogs.info/
--
View this message in context: http://www.nabble.com/Zend_Form_Element_File-value-when-not-uploading-tp20567916p20571517.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论