New file validator
- Posted by thomasw at 23:40:19 // //
- Announcements, Filter, Validate
Hy fellows,
Premiere on my blog… the second post on a single day. :-)
Ok… just a short note for you:
I added a WordCount validator for files. It can be used as all other file validators by applying it to a file transfer or file element. And it counts words from textfiles.
->addValidator('WordCount', false, array('min' => 10, 'max' => 200);
I hope you find it usefull.
Greetings
Thomas Weidner
I18N Team Leader, Zend Framework
Zend Framework Advisory Board Member
Zend Certified Engineer for Zend Framework
