ZF-3957: Zend_Form->addDisplayGroup with wrong documentation
Description
Hi,
I'm using the Form Groups and I was using the order stuff for the form... the function was asking for the $order but actually is asking for an array of options.
/**
* Add a display group
*
* Groups named elements for display purposes.
*
* If a referenced element does not yet exist in the form, it is omitted.
*
* @param array $elements
* @param string $name
* @param int $order
* @return Zend_Form
* @throws Zend_Form_Exception if no valid elements provided
*/
public function addDisplayGroup(array $elements, $name, $options = null)
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-09-01T02:47:04.000+0000
Solved in SVN r11182