Zend Validators and multidimensional array?

There was a similar question some days ago: Passing an array as a value to Zend_Filter.

There was a similar question some days ago: Passing an array as a value to Zend_Filter In short, if you use Zend_Filter_Input, it will pass the array values individually to the associated validators. So, it's not possible to use the array as a whole, but the individual components. EDIT: A possible solution would be to create your own specific Zend_Validate class and include all the checks in the isValid method, something like the following: class MyValidator extends Zend_Validate_Abstract { const MESSAGE = 'message'; protected $_messageTemplates = array( self::MESSAGE => "Invalid format for the array" ); public function isValid($value) { if (!is_array($value)) { $this->_error(); return false; } // ... return true; } } Hope that helps.

– cantera25 Nov 29 at 15:24 @cantera25: I've updated my answer with the approach I would take. – dinopmi Nov 29 at 16:01.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send