LowerCase filter allows to change the content of a file to
lowercase. You should use this filter only on textfiles.
At initiation you can give a string which will then be used as encoding. Or you can use
setEncoding() method to set it afterwards.
Example 435. Using the LowerCase filter
$upload = new Zend_File_Transfer_Adapter_Http();
// Adds a filter to lowercase the uploaded textfile
// Adds a filter to lowercase the uploaded file but only for uploadfile1
$upload->addFilter('LowerCase', null, 'uploadfile1');
// Adds a filter to lowercase with encoding set to ISO-8859-1
Note that due to the fact that the options for the LowerCase filter are optional,
you must give a
NULL as second parameter (the options) when you
want to limit it to a single file element.