thomasW wrote:
>
> All described methods are in trunk.
> But as I wrote they are in different classes.
> getFileInfo and isUploaded are only available in the transfer adapter and
> not the form element.
>
> And 1.7 is stable and fully functional.
>
Ahhh, I finally get it...
In case anbody else is wondering, after the form is validated, to check if
the file is uploaded you have to do something like this:
$adapter = $form->file_element->getTransferAdapter();
if ($adapter->isUploaded()) {
echo "File is uploaded!";
} else {
echo "File is not uploaded!";
}
So, you are saying that what is currently available at svn 1.7 branch (
http://framework.zend.com/svn/framework/standard/branches/release-1.7/ ) is
going to be available for download at
http://framework.zend.com/download/latest ? Because, latest version on
official web iz 1.7.0 Preview Release.
p.s.
Thanks again for your time.
Regards,
Goran Juric
http://gogs.info/
--
View this message in context:
http://www.nabble.com/Check-if-the-file-is-uploaded%2C-bug--tp20503526p20507259.html
Sent from the Zend Framework mailing list archive at Nabble.com.