Zend Framework

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.5.2
  • Component/s: Zend_Form
  • Labels:
    None

Description

Line 188:

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

Activity

Hide
Wil Sinclair added a comment -

Please evaluate and categorize/assign as necessary.

Show
Wil Sinclair added a comment - Please evaluate and categorize/assign as necessary.
Hide
Matthew Weier O'Phinney added a comment -

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.

Show
Matthew Weier O'Phinney added a comment - 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.
Hide
Janek Noest added a comment -

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

Show
Janek Noest added a comment - The problem is the method's parameter $flag, which is clearly never used, but required.
Hide
Matthew Weier O'Phinney added a comment -

Re-opening based on user feedback.

Show
Matthew Weier O'Phinney added a comment - Re-opening based on user feedback.
Hide
Matthew Weier O'Phinney added a comment -

Fixed in trunk and release-1.5 branch

Show
Matthew Weier O'Phinney added a comment - Fixed in trunk and release-1.5 branch

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: