コード例 #1
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->_loggable = TRUE;
     $this->tableFields = array_keys($this->getTableSQLFields());
     $varsToPush = $this->getVarsToPush();
     $this->setConfigParameterable($this->_configTableFieldName, $varsToPush);
     plgVmPaymentKlarnaCheckout::includeKlarnaFiles();
     VmConfig::loadJLang('plg_vmpayment_klarna');
 }
コード例 #2
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->_loggable = TRUE;
     $this->tableFields = array_keys($this->getTableSQLFields());
     $this->_tablepkey = 'id';
     //virtuemart_sofort_id';
     $this->_tableId = 'id';
     //'virtuemart_sofort_id';
     $varsToPush = $this->getVarsToPush();
     $this->setConfigParameterable($this->_configTableFieldName, $varsToPush);
     plgVmPaymentKlarnaCheckout::includeKlarnaFiles();
 }
コード例 #3
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->_loggable = TRUE;
     $this->tableFields = array_keys($this->getTableSQLFields());
     $this->_tablepkey = 'id';
     $this->_tableId = 'id';
     $varsToPush = $this->getVarsToPush();
     $this->setConfigParameterable($this->_configTableFieldName, $varsToPush);
     plgVmPaymentKlarnaCheckout::includeKlarnaFiles();
     VmConfig::loadJLang('plg_vmpayment_klarna');
     if (!JFactory::getApplication()->isSite()) {
         $doc = JFactory::getDocument();
         $doc->addScript(JURI::root(true) . '/plugins/vmpayment/klarnacheckout/klarnacheckout/assets/js/admin.js');
         $doc->addStyleSheet(JURI::root(true) . '/plugins/vmpayment/klarnacheckout/klarnacheckout/assets/css/klarnacheckout.css');
     }
 }