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


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)


Scheduling for next minor release (new functionality).

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

Updating for the 1.6.0 release.