ZF-2931: Zend_View_Helper_FormCheckbox comment and docs are wrong about a 4th parameter
Description
/**
* Generates a 'checkbox' element.
*
* @access public
*
* @param string|array $name If a string, the element name. If an
* array, all other parameters are ignored, and the array elements
* are extracted in place of added parameters.
* @param mixed $value The element value.
* @param array $attribs Attributes for the element tag.
* @param mixed $options
* @return string The element XHTML.
*/
public function formCheckbox($name, $value = null, $attribs = null)
The options parameter was removed in revision 7972, but it's still in the comment and in the docs http://framework.zend.com/manual/en/…
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-03-21T08:49:45.000+0000
Thank you for report. It is resolved in SVN r8951
Posted by Wil Sinclair (wil) on 2008-03-21T17:09:03.000+0000
I'm assuming this fix is merged to the 1.5 release branch for release with 1.5.1. Please update JIRA if this is not the case.