Thomas Weidner’s Blog: Boolean filtering
Thomas Widner contributed another one Zend Framework component. This time it’s a boolean filter.
…another one of my new components has been moved to core… Zend_Filter_Boolean. You say that you don’t need this filter? You can simply cast to boolean? Let me describe you why you are wrong.
With this very flexible one is able to automatically filter boolean input data, with casting or without. The filter is very flexible and powerful, providing support for cases like yes/no/don’t know and localized natural language input.