ZF-4453: Setting $_ignore as default value on and

Issue Type: Improvement Created: 2008-10-02T07:09:18.000+0000 Last Updated: 2009-11-20T10:09:55.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: removed user (sandstrom) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_Form

Related issues: Attachments:


The ignore flag indicates that an element should be ignored when retrieving values at form level. (row: 694 in Element.php [Zend_Form_Element]).

Since one, as far as I know, almost never use the value of an input/button this would be a good default value. Makes it easier to run $row->setFromArray($form->getValues()); since MySQL complains about the non-existing column for the button/submit otherwise.


Posted by Matthew Weier O'Phinney (matthew) on 2008-10-02T07:21:56.000+0000

I think this is a good idea. However, it's a minor BC break, and will need to wait for the next minor release.

Posted by Jon Whitcraft (sidhighwind) on 2009-11-20T10:09:55.000+0000

This was checked into the trunk with r19123 and will be included in 1.10

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.