ZF-3228: Zend_Form::setElementDecorators(): pass an array of elements to exclude / include from decorator setting

Issue Type: Improvement Created: 2008-05-09T05:25:28.000+0000 Last Updated: 2008-09-02T10:39:03.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Ralf Eggert (ralf) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


I would like to suggest the followin improvement for the Zend_Form::setElementDecorators() method:

It should be possible to pass an array of elements. The passed array of decorators should be set for all of these elements. This should work both for excluding and including these elements. The method could look like this:

public function setElementDecorators(array $decorators, array $elements, $include = true)


Posted by Matthew Weier O'Phinney (matthew) on 2008-05-09T11:35:56.000+0000

Scheduling for next minor release (new functionality).

Posted by Matthew Weier O'Phinney (matthew) on 2008-08-05T08:56:46.000+0000

Added in r10681 to trunk and merged to 1.6 release branch with r10682.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:03.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.


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

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