Beispiel #1
0
 public function __construct()
 {
     if (!self::$db) {
         self::$db = SafeMySQL::getInstance();
     }
     parent::__construct();
 }
Beispiel #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);
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
 }