src/AmazonPaymentBundle/AmazonPaymentGroupConfig.php
protected function getTemplateDataFromOrder(\TdbShopOrder $order)
    {
        $data = $order->GetSQLWithTablePrefix($order->table);
        $shop = $order->GetFieldShop();
        $shopData = $shop->GetSQLWithTablePrefix($shop->table);
        $data = array_merge($data, $shopData);

        return $data;
    }
protected function getTemplateDataFromOrder(\TdbShopOrder $order)
    {
        $data = $order->GetSQLWithTablePrefix($order->table);
        $shop = $order->GetFieldShop();
        $shopData = $shop->GetSQLWithTablePrefix($shop->table);
        $data = array_merge($data, $shopData);

        return $data;
    }
protected function getTemplateDataFromOrder ( \ TdbShopOrder $ order ) { $ data = $ order -> GetSQLWithTablePrefix ( $ order -> table ) ; $ shop = $ order -> GetFieldShop ( ) ; $ shopData = $ shop -> GetSQLWithTablePrefix ( $ shop -> table ) ; $ data = array_merge ( $ data , $ shopData ) ; return $ data ; }
extract data from oder to be used by text generated via template.

@param \TdbShopOrder $order

@return array
extract data from oder to be used by text generated via template .