ZF-3213: Zend_Form: setting displayGroupPrefixPath in config file


when setting options to a Zend_Form you can not set a displayGroupPrefixPath.

Tried with Config(_Ini): - displayGroupPrefixPath.myname.prefix / displayGroupPrefixPath.myname.path (failed)

--> should handled in method setOptions()

No workaround (for setting this option in a configuration file)


I was able to reproduce with the following INI file:

displayGroupPrefixPath.myname.prefix = "My_Decorator"
displayGroupPrefixPath.myname.path = "My/Decorator/" = "text" = "foo"
displayGroups.foofoo.elements[] = "foo" "foofoo"

and PHP:

$config = new Zend_Config_Ini(dirname(__FILE__) . '/config.ini', 'form');
$form   = new Zend_Form($config);
$dg     = $form->foofoo;

It's clear from the output that the custom prefix path was not present.

Scheduling for next mini release.

Fix committed to trunk and 1.5 and 1.6 release branches.