當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。