Zend Framework

Zend_View_Helper_FormCheckbox comment and docs are wrong about a 4th parameter

Details

  • Type: Docs: Task Docs: Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.0
  • Fix Version/s: 1.5.1
  • Component/s: Zend_View
  • Labels:
    None
  • Language:
    English

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/zend.view.helpers.html#zend.view.helpers.initial

Activity

Hide
Satoru Yoshida added a comment -

Thank you for report. It is resolved in SVN r8951

Show
Satoru Yoshida added a comment - Thank you for report. It is resolved in SVN r8951
Hide
Wil Sinclair added a comment -

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.

Show
Wil Sinclair added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
20m
Original Estimate - 20 minutes
Remaining:
20m
Remaining Estimate - 20 minutes
Logged:
Not Specified
Time Spent - Not Specified