private function getData($type, $data, &$replaceTextBlocks) { switch ($type) { case 'CALCULATION': return Billing_Custom_Template::getCalculationData($data, &$replaceTextBlocks); case 'BID': return Billing_Custom_Template::getBidData($data, &$replaceTextBlocks); case 'CONFIRM': return Billing_Custom_Template::getABData($data, &$replaceTextBlocks); case 'SHIPPING': return Billing_Custom_Template::getShippingData($data, &$replaceTextBlocks); case 'INVOICE': return Billing_Custom_Template::getInvoiceData($data, &$replaceTextBlocks); case 'CREDIT': return Billing_Custom_Template::getInvoiceData($data, &$replaceTextBlocks); case 'MONITION': return Billing_Custom_Template::getMonitionData($data, &$replaceTextBlocks); case 'SPQUERY': return Billing_Custom_Template::getQueryData($data, &$replaceTextBlocks); case 'SPOFFER': return Billing_Custom_Template::getOfferData($data, &$replaceTextBlocks); case 'SPORDER': return Billing_Custom_Template::getOrderData($data, &$replaceTextBlocks); case 'SPINVOICE': return Billing_Custom_Template::getIncInvoiceData($data, &$replaceTextBlocks); } }