示例#1
0
 public function onInstall($dropTable)
 {
     return parent::onInstall($dropTable) . $this->installVars(array('bank_bic' => array('', 'text', '0', '11'), 'bank_iban' => array('', 'text', '0', '34'), 'bank_name1' => array('', 'text', '0', '128'), 'bank_name2' => array('', 'text', '0', '128')));
 }
示例#2
0
 public function onInstall($dropTable)
 {
     return parent::onInstall($dropTable) . $this->installVars(array('ap_seller' => array(GWF_ADMIN_EMAIL, 'text', '6', GWF_User::EMAIL_LENGTH), 'ap_sec_code' => array('1234567890abcdef', 'text', '16', '16'), 'ap_send_code' => array('1234567890abcdef', 'text', '16', '16'), 'ap_test_mode' => array(true, 'bool')));
 }
示例#3
0
 public function onInstall($dropTable)
 {
     return parent::onInstall($dropTable) . GWF_ModuleLoader::installVars($this, array('PAYPAL_VERSION' => array('2.3', 'script'), 'PAYPAL_API_USERNAME' => array('CBusch1980_api1.gmx.de', 'text', 8, 128), 'PAYPAL_API_PASSWORD' => array('ECL83PUVR4CF2LU3', 'text', 16, 16), 'PAYPAL_API_SIGNATURE' => array('An5ns1Kso7MWUdW4ErQKJJJ4qi4-AKKoQTrZVr51cIn6b.aMsI-4t2xg', 'text'), 'PAYPAL_API_ENDPOINT' => array('https://api-3t.sandbox.paypal.com/nvp', 'text'), 'PAYPAL_URL' => array('https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&token=', 'text'), 'PAYPAL_USE_PROXY' => array(false, 'bool'), 'PAYPAL_PROXY_HOST' => array('127.0.0.1', 'text'), 'PAYPAL_PROXY_PORT' => array('8080', 'int', 1, 65535)));
 }