function _commerce_worldpay_bg_build_page in Commerce Worldpay 7
Generates the theme output.
1 call to _commerce_worldpay_bg_build_page()
- commerce_worldpay_bg_response_page in includes/
commerce_worldpay_bg.page.inc - Page callback that listens for transaction information from WorldPay.
File
- includes/
commerce_worldpay_bg.page.inc, line 258 - Various page callback related functions.
Code
function _commerce_worldpay_bg_build_page($theme_data, $type = 'success') {
drupal_add_http_header('Content-Type', 'text/html; charset=utf-8');
$content = theme('commerce_worldpay_bg_' . $type, $theme_data);
$page = theme('commerce_worldpay_bg_page', array(
'content' => $content,
) + $theme_data);
return theme('commerce_worldpay_bg_html', array(
'page' => $page,
) + $theme_data);
}