Hi Martijn, It would be helpful if you could define "barfing" for us. Is an exception being thrown? Is a validator not being added? Are none of the validators being added?
On Sat, Feb 7, 2009 at 3:49 AM, Martijn Korse <ma...@excudo.net> wrote: > > > Bob O wrote: > > > > I am stumped, if anyone can point me in a good direction where i can find > > solid docs on using Zend validation and filters from an ini file that > > would be super..Im not a Zend Guru, so sometimes deciphering what is > being > > presented is frustrating. > > > > Hi Bob O > > I doubt there are docs specifically dealing with the combination of these > components. > It's just a matter of understanding what they do and combining that > knowledge. > > If you want to perform validations based on a configuration in an ini file > (like the code you've posted here), what you need to do is read the ini > file, and dynamically load the validators. In order to achieve your goal, > you might also want to take a look at what is called 'reflection': > http://nl.php.net/oop5.reflection In some cases this becomes a necessity > when you're dynamically loading classes. Also, have a look at > http://nl.php.net/autoload or the ZF-Autoloader component. > > It's difficult to give you specific advise as you haven't really made clear > what your ultimate objective is. > > > > ----- > http://devshed.excudo.net http://devshed.excudo.net > -- > View this message in context: > http://www.nabble.com/Zend_Validate-Zend_Filter-and-Ini%27s-tp21880603p21887051.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- A.J. Brown web | http://ajbrown.org phone | (937) 660-3969