예제 #1
0
 public function __construct()
 {
     if (!self::$db) {
         self::$db = SafeMySQL::getInstance();
     }
     parent::__construct();
 }
예제 #2
0
 public function __construct($method = null)
 {
     parent::__construct();
     $this->_paymentOptions = self::getOptions();
     $this->_systemInfo = self::$paymentSystems[static::$_systemCode];
     if (!$method instanceof PaymentMethod || !self::checkMethod($method)) {
         return;
     }
     $this->paymentMethod = $method;
     $this->paymentMethod->options = self::getPayOptions($this->paymentMethod);
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
 }