Re: [fw-general] validator Db_NoRecordExists -- support for multifield unique indices?

2010-02-16 Thread David Mintz
On Thu, Feb 11, 2010 at 5:03 PM, Саша Стаменковић wrote: > Can we see the source? > > Regards, > Saša Stamenković > > > Sure... The next thing however that I plan to do is likewise add support for multiple columns in the 'exclude' option. toArray(); } if (array_key_exists('fields

Re: [fw-general] validator Db_NoRecordExists -- support for multifield unique indices?

2010-02-11 Thread Саша Стаменковић
Can we see the source? Regards, Saša Stamenković On Thu, Feb 11, 2010 at 9:43 PM, David Mintz wrote: > I've just written my own extension of Zend_Validate_Db_Abstract that > supports multiple fields to query against, for the case where your table has > a multi-field unique index. I wonder if t

[fw-general] validator Db_NoRecordExists -- support for multifield unique indices?

2010-02-11 Thread David Mintz
I've just written my own extension of Zend_Validate_Db_Abstract that supports multiple fields to query against, for the case where your table has a multi-field unique index. I wonder if there's any demand for this feature, it might be a cool thing for this relative novice ZFer to contribute, perhap