Any way to get all the filtered/validated data out of your Zend_Filter_Input
object in one shot?

It would be nice to say

$input = new Zend_Filter_Input($filters, $validators,$data);


if ($input->isValid()) {

    $row->setFromArray($input->toArray())->save();

}

and be done with it. It seems that all we need in Zend_Input_Filter is

function toArray() { return this->_data; }



-- 
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness

Reply via email to