ZF-5866: miscleading variable names for Zend_Form_Element_Multi::addMultiOption()

Description

According to api doc, variable names for Zend_Form_Element_Multi::addMultiOption() are as follow: ```

This is pretty misleading because when generating a element, second function argument ("$value") is not the value of generated nodes, but the text of node, whereas first argument ("$option") is indeed the value of generated nodes.

Example: $element->addMultiOption('choice1', 1) Expected result: choice1Actual result: 1

Comments

No comments to display