app/code/community/Adyen/Payment/Helper/Installments.php
protected function _decodeArrayFieldValue(array $value)
    {
        $result = array();
        unset($value['__empty']);
        foreach ($value as $_id => $row) {
            if (!is_array($row) || !array_key_exists(
                'installment_currency',
                $row
            ) || !array_key_exists(
                'installment_boundary',
                $row
            ) || !array_key_exists(
                'installment_frequency',
                $row
            ) || !array_key_exists('installment_interest', $row)) {
                continue;
            }

            $currency = $row['installment_currency'];
            $boundary = $row['installment_boundary'];
            $frequency = $row['installment_frequency'];
            $interest = $row['installment_interest'];
            $result[] = array($currency, $boundary, $frequency, $interest);
        }

        return $result;
    }
protected function _decodeArrayFieldValue(array $value)
    {
        $result = array();
        unset($value['__empty']);
        foreach ($value as $_id => $row) {
            if (!is_array($row) || !array_key_exists(
                'installment_currency',
                $row
            ) || !array_key_exists(
                'installment_boundary',
                $row
            ) || !array_key_exists(
                'installment_frequency',
                $row
            ) || !array_key_exists('installment_interest', $row)) {
                continue;
            }

            $currency = $row['installment_currency'];
            $boundary = $row['installment_boundary'];
            $frequency = $row['installment_frequency'];
            $interest = $row['installment_interest'];
            $result[] = array($currency, $boundary, $frequency, $interest);
        }

        return $result;
    }
protected function _decodeArrayFieldValue ( array $ value ) { $ result = array ( ) ; unset ( $ value [ '__empty' ] ) ; foreach ( $ value as $ _id => $ row ) { if ( ! is_array ( $ row ) || ! array_key_exists ( 'installment_currency' , $ row ) || ! array_key_exists ( 'installment_boundary' , $ row ) || ! array_key_exists ( 'installment_frequency' , $ row ) || ! array_key_exists ( 'installment_interest' , $ row ) ) { continue ; } $ currency = $ row [ 'installment_currency' ] ; $ boundary = $ row [ 'installment_boundary' ] ; $ frequency = $ row [ 'installment_frequency' ] ; $ interest = $ row [ 'installment_interest' ] ; $ result [ ] = array ( $ currency , $ boundary , $ frequency , $ interest ) ; } return $ result ; }
Decode value from used in Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
HTML form => deserialized DB entry
@param array
@return array
Decode value from used in Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract HTML form = > deserialized DB entry