当前位置: 首页>>代码示例>>PHP>>正文


PHP Am_Form_Setup::addAdvCheckbox方法代码示例

本文整理汇总了PHP中Am_Form_Setup::addAdvCheckbox方法的典型用法代码示例。如果您正苦于以下问题:PHP Am_Form_Setup::addAdvCheckbox方法的具体用法?PHP Am_Form_Setup::addAdvCheckbox怎么用?PHP Am_Form_Setup::addAdvCheckbox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Am_Form_Setup的用法示例。


在下文中一共展示了Am_Form_Setup::addAdvCheckbox方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant_id')->setLabel(array('Your Algocharge Merchand ID'))->addRule('required');
     $form->addText('merchant_desc', array('maxlength' => 9))->setLabel(array('Description', "typically value is the name of the company\nmax length - 9 symbols"));
     $form->addAdvCheckbox('is_adult')->setLabel(array('For Adult Products'));
     $form->addAdvCheckbox('test_mode')->setLabel(array('Test Mode Enabled'));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:algocharge.php

示例2: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('apiKey', array('size' => 40))->setLabel(array('Merchant API Key', 'from bitpay merchant account -> My Account -> API Access keys'))->addRule('required');
     $form->addSelect('bitpay_speed_risk')->setLabel(array('Default Bitpay speed/risk'))->loadOptions($this->transactionSpeedOptions);
     $form->addAdvCheckbox("use_http")->setLabel(array("Use HTTP Protocol", "at return URL"));
     $form->addAdvCheckbox("debugMode")->setLabel(array("Debug Mode Enabled", "write all requests/responses to log"));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:bitpay.php

示例3: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("api_key", array('class' => 'el-wide'))->setLabel('Merchant API Key');
     $form->addPassword("api_secret", array('class' => 'el-wide'))->setLabel('Merchant API Secret');
     $form->addAdvCheckbox("testing")->setLabel("Is it a Sandbox (Testing) Account?");
     $form->addAdvCheckbox("dont_verify")->setLabel("Disable IPN verification\n" . "<b>Usually you DO NOT NEED to enable this option.</b>\n            However, on some webhostings PHP scripts are not allowed to contact external\n            web sites. It breaks functionality of the Xrefs payment integration plugin,\n            and aMember Pro then is unable to contact Xrefs to verify that incoming\n            IPN post is genuine. In this case, AS TEMPORARY SOLUTION, you can enable\n            this option to don't contact Xrefs server for verification. However,\n            in this case \"hackers\" can signup on your site without actual payment.\n            So if you have enabled this option, contact your webhost and ask them to\n            open outgoing connections to www.xfers.io port 80 ASAP, then disable\n            this option to make your site secure again.");
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:xfers.php

示例4: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('login')->setLabel(array('Authorize.Net API Login ID', "The API login is different from your Authorize.net username\n" . "You can get at the same time as the Transaction Key"))->addRule('required');
     $form->addText('tkey')->setLabel(array('Transaction Key', "The transaction key is generated by the system\n" . "and can be obtained from Merchant Interface.\n" . "To obtain the transaction key from the Merchant Interface:\n" . "1. Log into the Merchant Interface\n" . "2. Select Settings from the Main Menu\n" . "3. Click on Obtain Transaction Key in the Security section\n" . "4. Type in the answer to the secret question configured on setup\n" . "5. Click Submit"))->addRule('required');
     $form->addPassword('secret')->setLabel(array('Secret Word', "From authorize.net MD5 Hash menu\n" . "You have to create secret word"))->addRule('required');
     $form->addAdvCheckbox('testmode')->setLabel('Is Test Mode?');
     $form->addAdvCheckbox('devmode')->setLabel(array('Is Developer Account?', 'Select it if you are using developer API Login ID'));
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:8,代码来源:authorize-sim.php

示例5: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $plugin = $this->getId();
     $form->addText("business", array('size' => 40))->setLabel("Primary Paypal E-Mail Address");
     $form->addAdvCheckbox("testing")->setLabel("Is it a Sandbox(Testing) Account?");
     $form->addTextarea("alt_business", array('cols' => 40, 'rows' => 3))->setLabel("Alternate PayPal account emails (one per line)");
     $form->addAdvCheckbox("dont_verify")->setLabel("Disable IPN verification\n" . "<b>Usually you DO NOT NEED to enable this option.</b>\n            However, on some webhostings PHP scripts are not allowed to contact external\n            web sites. It breaks functionality of the PayPal payment integration plugin,\n            and aMember Pro then is unable to contact PayPal to verify that incoming\n            IPN post is genuine. In this case, AS TEMPORARY SOLUTION, you can enable\n            this option to don't contact PayPal server for verification. However,\n            in this case \"hackers\" can signup on your site without actual payment.\n            So if you have enabled this option, contact your webhost and ask them to\n            open outgoing connections to www.paypal.com port 80 ASAP, then disable\n            this option to make your site secure again.");
     $form->addText("lc", array('size' => 4))->setLabel("PayPal Language Code\n" . "This field allows you to configure PayPal page language\n                that will be displayed when customer is redirected from your website\n                to PayPal for payment. By default, this value is empty, then PayPal\n                will automatically choose which language to use. Or, alternatively,\n                you can specify for example: en (for english language), or fr\n                (for french Language) and so on. In this case, PayPal will not choose\n                language automatically. <br />\n                Default value for this field is empty string");
 }
开发者ID:subashemphasize,项目名称:test_site,代码行数:9,代码来源:paypal.php

示例6: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('site_id', array('size' => 20))->setLabel('Your Zombaio Site ID');
     $form->addInteger('merchant_id', array('size' => 20))->setLabel(array('Your Zombaio Merchant ID', 'Can be found in ZOA dashboard'));
     $form->addText('password')->setLabel(array("Zombaio GW Pass", "Unique key for the verify site/merchant. Can be found under site information in Zombaio Online Administrator"));
     $form->addSelect("lang", array(), array('options' => array('ZOM' => 'Default (Script will detect user language based on IP)', 'US' => 'English', 'FR' => 'French', 'DE' => 'German', 'IT' => 'Italian', 'JP' => 'Japanese', 'ES' => 'Spanish', 'SE' => 'Swedish', 'KR' => 'Korean', 'CH' => 'Traditional Chinese', 'HK' => 'Simplified Chinese')))->setLabel('Zombaio Site Language');
     $form->addAdvCheckbox('validation_mode')->setLabel(array('Enable Validation Mode', 'Turn this on in order to validate ZScript in your Zombaio account. 
             After script will be validated this setting should be disabled immediately'));
     $form->addAdvCheckbox('dynamic_pricing')->setLabel(array('Enable Dynamic Pricing', 'The amount must be within the range €/$ 10.00 - €/$ 100.00 if you want to use other amounts you must get an approval from support@zombaio.com'));
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:10,代码来源:zombaio.php

示例7: _initSetupForm

 protected function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('user', array('size' => 60))->setLabel(array('User name of icontact account', ''))->addRule('required');
     $form->addText('apiappid', array('size' => 60))->setLabel(array('API AppId', ''))->addRule('required');
     $form->addText('apipass', array('size' => 60))->setLabel(array('API Pass', ''))->addRule('required');
     $form->addText('accountid', array('size' => 60))->setLabel(array('Your account ID', ''))->addRule('required')->addRule('regex', ___('Digits only please'), '/^[0-9]+$/');
     $form->addText('clientfolderid', array('size' => 60))->setLabel(array('Your client folder ID', ''))->addRule('required')->addRule('regex', ___('Digits only please'), '/^[0-9]+$/');
     $form->addAdvCheckbox('testmode')->setLabel(array('Test mode', 'Use sandbox.'));
     $form->addAdvCheckbox('debuglog')->setLabel(array('Debug logging', 'Record debug information in the log.'));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:10,代码来源:icontact.php

示例8: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("company")->setLabel(array("Your company name in payforit platform", ""))->addRule('required');
     $form->addText("password", array('size' => 40))->setLabel(array("Your password in payforit platform", ""))->addRule('required');
     $form->addSelect("window")->setLabel(array("Type of Payforit Window ", "to render for the end user"))->loadOptions(array('small' => 'small', 'embed_small ' => 'embed_small ', 'large' => 'large', 'embed_large' => 'embed_large'));
     $form->addAdvCheckbox("is_frame")->setLabel(array("Use Iframe", ""));
     $form->addAdvCheckbox("debugLog")->setLabel(array("Debug Log Enabled", "write all requests/responses to log"));
     // hide reattempt
     $form->addScript()->setScript('$(function(){$("[id^=\'row-reattempt-\']").remove()});');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:10,代码来源:payforit.php

示例9: array

 function _initSetupForm(Am_Form_Setup $form)
 {
     $el = $form->addPassword('api_key', array('size' => 40))->setLabel('MailChimp API Key' . "\n<a target='_blank' href=''></a>");
     $el->addRule('required');
     $el->addRule('regex', 'API Key must be in form xxxxxxxxxxxx-xxx', '/^[a-zA-Z0-9]+-[a-zA-Z0-9]{2,4}$/');
     $form->addAdvCheckbox('disable_double_optin')->setLabel(array('Disable Double Opt-in', '<a href="http://kb.mailchimp.com/article/how-does-confirmed-optin-or-double-optin-work">http://kb.mailchimp.com/article/how-does-confirmed-optin-or-double-optin-work</a>'));
     $form->addAdvCheckbox('send_welcome')->setLabel(array('Send Welcome Message', 'Should Mailchimp send Welcome Email after opt-in'));
     $form->addAdvCheckbox('send_goodbye')->setLabel(array('Send Goodbye Message', ''));
     $form->addAdvCheckbox('ecommerce_tracking')->setLabel(array('Enable Ecommerce360 tracking', 'Read more: <a href="http://kb.mailchimp.com/article/what-is-ecommerce360-and-how-does-it-work-with-mailchimp/">on mailchimp site</a>'));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:10,代码来源:mailchimp.php

示例10: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addSelect("ideal_bank")->setLabel("Merchant bank")->loadOptions(array('ing' => 'secure-ing.com', 'rabobank' => 'rabobank.nl'));
     $form->addInteger("merchantId", array('maxlength' => 15, 'size' => 15))->setLabel(array("Merchant ID", ""))->addRule('required');
     $form->addInteger("subId", array('value' => 0))->setLabel(array("Sub ID", "usually it is not need to change it"));
     $form->addText("privateKey", array('size' => 40))->setLabel(array("Private Key", "filename of private key"))->addRule('required');
     $form->addText("privateKeyPass")->setLabel(array("Private Key Password", "password for private key"))->addRule('required');
     $form->addText("privateCert", array('size' => 40))->setLabel(array("Merchant Certificate", "filename of the certificate created by the merchant"))->addRule('required');
     $form->addText("acquirerCert", array('size' => 40))->setLabel(array("Acquirer Certificate", "filename of the certificate created by the acquirer"))->addRule('required');
     $form->addSelect("lang")->setLabel(array("Language", ""))->loadOptions(array('nl' => 'NL', 'en' => 'EN'));
     $form->addAdvCheckbox("testMode")->setLabel(array("Test Mode Enabled", ""));
     $form->addAdvCheckbox("debugLog")->setLabel(array("Debug Log Enabled", "write all requests/responses to log"));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:13,代码来源:ideal.php

示例11: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger("merchant", array('maxlength' => 15, 'size' => 15))->setLabel(array("Korta Merchant", ""))->addRule('required');
     $form->addInteger("terminal", array('maxlength' => 15, 'size' => 15))->setLabel(array("Korta Terminal", ""))->addRule('required');
     $form->addText("secretCode", array('size' => 40))->setLabel(array("Korta Secret Code", ""))->addRule('required');
     $form->addAdvCheckbox("testMode")->setLabel(array("Test Mode Enabled", ""));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:korta.php

示例12: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('merchant_id', array('size' => 20, 'maxlength' => 20))->setLabel('Your Verotel Merchant ID#');
     $form->addInteger('site_id')->setLabel('Verotel Site Id');
     $form->addAdvCheckbox('dynamic_pricing')->setLabel(array('Allow Dynamic Pricing', 'this option does not allow to use recurring'));
     $form->addText('secret')->setLabel(array('Private key', 'required for dynamic pricing only'));
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:verotel.php

示例13: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("account_id")->setLabel(array('Account ID', ''));
     $form->addText("site_id")->setLabel(array('Site ID', ''));
     $form->addText("site_code")->setLabel(array('Site Code', ''));
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:multisafepay.php

示例14: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant')->setLabel('Merchant Name');
     $form->addText('MerchantGUID')->setLabel('API Merchant ID');
     $form->addPassword('MerchantPassword')->setLabel('API Merchant Password');
     $form->addAdvCheckbox('testing')->setLabel("Is it a Sandbox(Testing) Account?");
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:i-payout.php

示例15: _initSetupForm

 protected function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('url', array('size' => 60))->setLabel(array('XML Path', ''))->addRule('required')->addRule('regex', 'URL must start with http:// or https://', '/^(http|https):\\/\\//');
     $form->addText('username', array('size' => 60))->setLabel(array('XML Username', 'The user name used to login to the Interspire Email Marketer'))->addRule('required');
     $form->addText('usertoken', array('size' => 60))->setLabel(array('XML Token', 'The unique token assigned to the user account used above'))->addRule('required');
     $form->addAdvCheckbox('xmldebuglog')->setLabel(array('XML bebug log', 'XML record in the log.'));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:interspire.php


注:本文中的Am_Form_Setup::addAdvCheckbox方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。