2009年9月11日星期五

RE: [fw-mvc] Array notation and ZendSubforms

My guess would be because 0 is treated as an empty.  Did you try ‘0’ as a string instead of an integer?

 

http://www.whitcraftconsulting.com/images/php5_zce_logo_new.gif

Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft@brickyard.com

P: (317) 492-8623 - F: (317) 492-6419


 

From: Cristian Bichis [mailto:contact@zftutorials.com]
Sent: Friday, September 11, 2009 7:27 AM
To: fw-mvc@lists.zend.com
Subject: [fw-mvc] Array notation and ZendSubforms

 

Hi,

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...

-- 
Best regards,
Cristian Bichis
www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

********************
********************
This E-mail (and attachments) may contain confidential/privileged information intended only for the named addressee(s). If you are not an intended recipient, do not read, copy, disseminate or take any action based on the content of this E-mail. Please notify the sender by reply E-mail and erase this E-mail from your system. Your assistance is appreciated. E-mail transmission may not be secure or error-free. The company is not responsible for any loss/damage arising from any virus transmitted.
********************
********************

没有评论: