Zend Framework

Zend_Form->addDisplayGroup with wrong documentation

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.5.3, 1.6.0RC3
  • Fix Version/s: 1.6.2
  • Component/s: Zend_Form
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

Hi,

I'm using the Form Groups and I was using the order stuff for the form... the function was asking for the $order but actually is asking for an array of options.

/**
     * Add a display group
     *
     * Groups named elements for display purposes.
     *
     * If a referenced element does not yet exist in the form, it is omitted.
     * 
     * @param  array $elements 
     * @param  string $name 
     * @param  int $order 
     * @return Zend_Form
     * @throws Zend_Form_Exception if no valid elements provided
     */
    public function addDisplayGroup(array $elements, $name, $options = null)

Activity

Hide
Satoru Yoshida added a comment -

Solved in SVN r11182

Show
Satoru Yoshida added a comment - Solved in SVN r11182

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

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