0
我想顯示貨幣符號和貨幣代碼在我的組件,但不知道該怎麼辦呢 嘗試ID如何在組件中獲得virtmart商店默認貨幣詳細信息?
if (!class_exists('currencydisplay'))
require(JPATH_ADMINISTRATOR .'/components/com_virtuemart/helpers/currencydisplay.php');
$currency = CurrencyDisplay::getInstance();
echo '<pre>';
print_r($currency);
exit;
但throughing這樣的錯誤..
Class 'VmModel' not found in /administrator/components/com_virtuemart/helpers/currencydisplay.php on line 46