library/Garp/Form.php
public function addDisplayGroup(array $elements, $name, $options = null) {
        // Allow custom decorators, but default to a sensible set
        if (empty($options['decorators'])) {
            $options['decorators'] = array(
                'FormElements',
                'Fieldset',
            );
        }
        return parent::addDisplayGroup($elements, $name, $options);
    }
public function addDisplayGroup(array $elements, $name, $options = null) {
        // Allow custom decorators, but default to a sensible set
        if (empty($options['decorators'])) {
            $options['decorators'] = array(
                'FormElements',
                'Fieldset',
            );
        }
        return parent::addDisplayGroup($elements, $name, $options);
    }
public function addDisplayGroup ( array $ elements , $ name , $ options = null ) { // Allow custom decorators, but default to a sensible set if ( empty ( $ options [ 'decorators' ] ) ) { $ options [ 'decorators' ] = array ( 'FormElements' , 'Fieldset' , ) ; } return parent :: addDisplayGroup ( $ elements , $ name , $ 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  array|Zend_Config $options
@return Zend_Form
@throws Zend_Form_Exception if no valid elements provided
Add a display group