예제 #1
0
 public static function getInstance()
 {
     if (!is_object(self::$instance)) {
         self::$instance = new J2StoreCurrency();
     }
     return self::$instance;
 }
예제 #2
0
파일: base.php 프로젝트: ForAEdesWeb/AEW4
 public static function getCurrencyObject()
 {
     if (!self::$currency) {
         require_once 'currency.php';
         self::$currency = J2StoreCurrency::getInstance();
     }
     return self::$currency;
 }