public function getValues($suppressArrayNotation = false)
    {
        $values = parent::getValues($suppressArrayNotation);

        foreach ($this->getSubForms() as $key => $subForm) {
            $values = $this->_array_replace_recursive($values, $values[$key]);
        }

        return $values;
    }
public function getValues($suppressArrayNotation = false)
    {
        $values = parent::getValues($suppressArrayNotation);

        foreach ($this->getSubForms() as $key => $subForm) {
            $values = $this->_array_replace_recursive($values, $values[$key]);
        }

        return $values;
    }
public function getValues ( $ suppressArrayNotation = false ) { $ values = parent :: getValues ( $ suppressArrayNotation ) ; foreach ( $ this -> getSubForms ( ) as $ key => $ subForm ) { $ values = $ this -> _array_replace_recursive ( $ values , $ values [ $ key ] ) ; } return $ values ; }
Retrieve all form element values

Fix for ZF error where subform values will be pushed into an array with key: formname
for compatibility both are now in the result array

@param  bool $suppressArrayNotation
@return array
Retrieve all form element values