config = stPaymentType::getConfiguration('cvIngBackend'); } public function __call($method, $arguments) { return stPaymentType::call($method, $this->config); } public function checkPaymentConfiguration($imojeOnly = 0) { if (!$this->hasClientId()){ return false; } if (!$this->hasShopId()){ return false; } if (!$this->hasShopKey()){ return false; } if($imojeOnly){ return true; } return true; } public static function getTwistoPaymentIds(){ $c=new Criteria(); $c->addSelectColumn(PaymentTypePeer::ID); $c->add(PaymentTypePeer::MODULE_NAME, 'cvIngTwisto'); $rowset = PaymentTypePeer::doSelectRS($c); $rowset->setFetchmode(ResultSet::FETCHMODE_ASSOC); $result = array(); foreach($rowset as $row){ $result[] = $row['ID']; } return $result; } }