Thanks!-- Cristian Bichis <contact@zftutorials.com> wrote (on Friday, 11 September 2009, 02:27 PM +0300):Anyone knows why if i set a subform name to 0, the output html into array notation looks like: form[] instead of form[0] ? This makes lot of problems sometime... I am not sure if is a bug or not...All subform, display group, and element names must be valid PHP variable names; integer names do not work. I'll be rethinking this design decision for 2.0, but for now, that's simply the way it works.
How complicated is to chnage this into a derived class or something like that ? Any tips how to do it to avoid this design pattern ?
-- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com
没有评论:
发表评论