ZF-3018: The Method Zend_Form_Element_Checkbox::isChecked() requires an param which is not used.


Line 188:

     * Get checked flag
     * @return bool
    public function isChecked($flag)
        return $this->checked;
  • Submitted on behalf of Benjamin Cremer (crem0r on #zftalk)


Please evaluate and categorize/assign as necessary.

The public property 'checked' is defined in the source, and defaults to false; setting the element value and/or the flag will change its value.

The problem is the method's parameter $flag, which is clearly never used, but required.

Re-opening based on user feedback.

Fixed in trunk and release-1.5 branch