本文整理汇总了PHP中shopfunctions::renderCountryList方法的典型用法代码示例。如果您正苦于以下问题:PHP shopfunctions::renderCountryList方法的具体用法?PHP shopfunctions::renderCountryList怎么用?PHP shopfunctions::renderCountryList使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类shopfunctions
的用法示例。
在下文中一共展示了shopfunctions::renderCountryList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: plgVmOnDisplayEdit
function plgVmOnDisplayEdit(&$calc, &$html)
{
$html .= '<fieldset>
<legend>' . JText::_('VMCALCULATION_AVALARA') . '</legend>
<table class="admintable">';
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ACTIVATED', 'activated', $calc->activated);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_COMPANY_CODE', 'company_code', $calc->company_code);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_ACCOUNT', 'account', $calc->account);
$html .= VmHTML::row('input', 'VMCALCULATION_AVALARA_LICENSE', 'license', $calc->license);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_COMMITT', 'committ', $calc->committ);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ONLYCART', 'only_cart', $calc->only_cart);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_ACCRUAL', 'accrual', $calc->accrual);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_DEV', 'dev', $calc->dev);
$html .= VmHTML::row('checkbox', 'VMCALCULATION_AVALARA_PREVCHECKOUT_AD_INVALID', 'prevCheckoutAddInv', $calc->prevCheckoutAddInv);
$label = 'VMCALCULATION_AVALARA_VADDRESS';
$lang = JFactory::getLanguage();
$label = $lang->hasKey($label . '_TIP') ? '<span class="hasTip" title="' . JText::_($label . '_TIP') . '">' . JText::_($label) . '</span>' : JText::_($label);
$html .= '
<tr>
<td class="key">
' . $label . '
</td>
<td>
' . shopfunctions::renderCountryList($calc->avatax_virtuemart_country_id, TRUE, array(), 'avatax_') . '
</td>';
/* $countriesList = ShopFunctions::renderCountryList($calc->calc_countries,True);
$this->assignRef('countriesList', $countriesList);
$statesList = ShopFunctions::renderStateList($calc->virtuemart_state_ids,'', True);
$this->assignRef('statesList', $statesList);
$label = 'VMCALCULATION_AVALARA_VADDRESS';
$lang =JFactory::getLanguage();
$label = $lang->hasKey($label.'_TIP') ? '<span class="hasTip" title="'.JText::_($label.'_TIP').'">'.JText::_($label).'</span>' : JText::_($label) ;
$html .= '
<td>
'.shopfunctions::renderStateList($calc->avatax_virtuemart_state_id,'avatax_',TRUE).'
</td> */
$html .= '</tr>';
//$html .= VmHTML::row('checkbox','VMCALCULATION_AVALARA_VADDRESS','vAddress',$calc->vAddress);
// $html .= VmHTML::row('checkbox','VMCALCULATION_ISTRAXX_AVALARA_TRACE','trace',$calc->trace);
$html .= '</table>';
if ($calc->activated) {
$html .= $this->ping($calc);
}
$html .= JText::_('VMCALCULATION_AVALARA_MANUAL') . '</fieldset>';
return TRUE;
}