Hi,
Zend_Input_Filter is a very usefull class, but I miss one filter:
arrays.
If I submit a form like this:
<input type="hidden" name="somedata[firstkey]" value="firstvalue" />
<input type="text" name="somedata[secondkey]" value="secondvalue" />
It gives me an array like this as $_POST['somedata']
array(
'firstkey' => 'firstvalue',
'secondkey' => 'secondvalue'
)
At the moment, the only way to get this through Zend_Input_Filter is
with getRaw().
It would be very usefull to have getArray(), testArray() and maybe
inArray() or such.
Greets
Jurriën Stutterheim
|