protected function getItemOrderOptions($item)
    {
        $result = array();
        if ($options = $item->getProductOptions()) {
            if (isset($options['options'])) {
                $result = array_merge($result, $options['options']);
            }
            if (isset($options['additional_options'])) {
                $result = array_merge($result, $options['additional_options']);
            }
            if (!empty($options['attributes_info'])) {
                $result = array_merge($options['attributes_info'], $result);
            }
        }
        return $result;
    }
protected function getItemOrderOptions($item)
    {
        $result = array();
        if ($options = $item->getProductOptions()) {
            if (isset($options['options'])) {
                $result = array_merge($result, $options['options']);
            }
            if (isset($options['additional_options'])) {
                $result = array_merge($result, $options['additional_options']);
            }
            if (!empty($options['attributes_info'])) {
                $result = array_merge($options['attributes_info'], $result);
            }
        }
        return $result;
    }
protected function getItemOrderOptions ( $ item ) { $ result = array ( ) ; if ( $ options = $ item -> getProductOptions ( ) ) { if ( isset ( $ options [ 'options' ] ) ) { $ result = array_merge ( $ result , $ options [ 'options' ] ) ; } if ( isset ( $ options [ 'additional_options' ] ) ) { $ result = array_merge ( $ result , $ options [ 'additional_options' ] ) ; } if ( ! empty ( $ options [ 'attributes_info' ] ) ) { $ result = array_merge ( $ options [ 'attributes_info' ] , $ result ) ; } } return $ result ; }
Returns all the product options of the given item including additional_options and
attributes_info.

@param Mage_Sales_Model_Order_Item $item The item to return info from
@return Array The item options
Returns all the product options of the given item including additional_options and attributes_info .