Esempio n. 1
0
 /**
  * @return TCVM_Payment_Model_LogAdaptive
  */
 public static function GetInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Esempio n. 2
0
 protected function _logAdaptive($orderId, $payKey)
 {
     $errorModel = TCVM_Payment_Model_LogAdaptive::GetInstance();
     $errorModel->insert(array("order_id" => $orderId, "pay_key" => $payKey, "date_add" => time()));
 }