本文整理汇总了PHP中oledrion_utils::getCountriesList方法的典型用法代码示例。如果您正苦于以下问题:PHP oledrion_utils::getCountriesList方法的具体用法?PHP oledrion_utils::getCountriesList怎么用?PHP oledrion_utils::getCountriesList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类oledrion_utils
的用法示例。
在下文中一共展示了oledrion_utils::getCountriesList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
}
$xoopsTpl->assign('op', $op);
$xoopsTpl->assign('mod_pref', $mod_pref);
$cartForTemplate = array();
$emptyCart = false;
$shippingAmount = $commandAmount = $vatAmount = $commandAmountTTC = $discountsCount = $commandAmountVAT = 0;
$goOn = '';
$discountsDescription = array();
function listCart()
{
global $cartForTemplate, $emptyCart, $shippingAmount, $commandAmount, $vatAmount, $goOn, $commandAmountTTC, $discountsDescription;
$reductions = new oledrion_reductions();
$reductions->computeCart($cartForTemplate, $emptyCart, $shippingAmount, $commandAmount, $vatAmount, $goOn, $commandAmountTTC, $discountsDescription, $discountsCount);
}
$oledrion_Currency = oledrion_Currency::getInstance();
$countries = oledrion_utils::getCountriesList();
switch ($op) {
case 'save':
if (empty($_POST)) {
oledrion_utils::redirect(_OLEDRION_ERROR20, OLEDRION_URL, 4);
}
if ($h_oledrion_caddy->isCartEmpty()) {
oledrion_utils::redirect(_OLEDRION_CART_IS_EMPTY, OLEDRION_URL, 4);
}
listCart();
switch ($action) {
case 'make':
$commandAmountTTC = $commandAmountTTC + $commandAmountVAT;
$password = md5(xoops_makepass());
$passwordCancel = md5(xoops_makepass());
$commande = $h_oledrion_commands->create(true);