本文整理匯總了PHP中Quote::get_xtemplate_data方法的典型用法代碼示例。如果您正苦於以下問題:PHP Quote::get_xtemplate_data方法的具體用法?PHP Quote::get_xtemplate_data怎麽用?PHP Quote::get_xtemplate_data使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Quote
的用法示例。
在下文中一共展示了Quote::get_xtemplate_data方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: ListCurrency
} else {
if (!empty($_REQUEST['record'])) {
$xtpl->assign("RETURN_ID", $_REQUEST['record']);
}
}
//when create without save, click save.
if (empty($_REQUEST['return_id'])) {
$xtpl->assign("RETURN_ACTION", 'index');
}
if (!empty($xtpl_data['STATUS']) && $xtpl_data['STATUS'] > 0) {
$xtpl_data['STATUS_CHECKED'] = 'checked';
}
$xtpl->assign("JAVASCRIPT", get_set_focus_js() . get_validate_record_js() . get_product_js());
//$xtpl->assign("JAVASCRIPT_PRODUCT", get_product_js());
$xtpl->assign("THEME", $theme);
$xtpl_data = $focus->get_xtemplate_data();
global $current_user;
if (!$focus->num_pref && !$focus->quotenum) {
$ppref = 'QTE';
$pnumber = $focus->generate_number();
$xtpl->assign('num_pref', $ppref);
$xtpl->assign('num_suf', $pnumber);
} else {
$xtpl->assign('num_pref', $focus->num_pref);
$xtpl->assign('num_suf', $focus->num_suf);
}
require_once 'modules/Currencies/ListCurrency.php';
$currency = new ListCurrency();
if (isset($focus->currency_id) && !empty($focus->currency_id)) {
$selectCurrency = $currency->getSelectOptions($focus->currency_id);
$xtpl->assign("CURRENCY", $selectCurrency);