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

Thank you for report. It is resolved in SVN r8951

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.