What is setInputFilter() for?

For programming and general questions on Zend Framework

What is setInputFilter() for?

Postby wige2480 on Mon Dec 17, 2012 9:34 pm

Basically as the subject says, what is this function for? In order to use the InputFilterAwareInterface, I need to create a setInputFilter method. What is the purpose of that method? In the tutorials, it just throws an exception when called, I can't find any documentation for it on the ZF2 website, and in the interface itself the documentation is simply "Set input filter".

I have tried using it to add input filters, but unless I pass them as an array (not allowed by this function) they just break. What should I be using this for?
Posts: 8
Joined: Fri Aug 26, 2011 3:28 pm

Return to Zend Framework

Who is online

Users browsing this forum: No registered users and 3 guests