Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
https://docs.zendframework.com/
Zend Framework 1.6 - Zend Framework Migration Notes
When upgrading from a previous release to Zend Framework 1.6 or higher you should note the following migration notes.
Users brought to our attention the fact that Zend_Controller_Front and Zend_Controller_Router_Route_Module were each using methods of the dispatcher that were not in the dispatcher interface. We have now added the following three methods to ensure that custom dispatchers will continue to work with the shipped implementations:
getDefaultModule(): should return the name of the default module.
getDefaultControllerName(): should return the name of the default controller.
getDefaultAction(): should return the name of the default action.
As noted by users, the validators from Zend_File_Transfer do not work the same way like the default ones from Zend_Form. Zend_Form allows the usage of a $breakChainOnFailure parameter which breaks the validation for all further validators when an validation error has occurred.
So we added this parameter also to all existing validators from Zend_File_Transfer.
Old method API: addValidator($validator, $options, $files).
New method API: addValidator($validator, $breakChainOnFailure, $options, $files).
To migrate your scripts to the new API, simply add a FALSE after defining the wished validator.
Example #1 How to change your file validators from 1.6.1 to 1.6.2