• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Am_Form_Setup类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant', array('size' => 20))->setLabel('PayPoint Username');
     $form->addText('remote_password', array('size' => 30))->setLabel(array('Remote Password', 'Please see readme below'));
     $form->addText('digestkey', array('size' => 30))->setLabel(array('Digest Key', 'Created from within the PayPoint.net Merchant Extranet'));
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:paypoint.php


示例2: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('site_id')->setLabel(array('Site ID', 'Identifier of the merchant site'));
     $form->addText('api_key')->setLabel(array('API Key', 'This keyset is available under My Profile in the Allopass merchant account.'));
     $form->addText('api_secret_key')->setLabel(array('API Secret Key', 'This keyset is available under My Profile in the Allopass merchant account.'));
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:allopass.php


示例3: _initSetupForm

 function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant_id')->setLabel('Merchant ID');
     $form->addText('security_key')->setLabel('Private Security Key');
     $form->addSelect('language', '', array('options' => array('ru' => 'Русский', 'en' => 'English')))->setLabel('Interface language');
     $form->addAdvCheckbox('cc_form')->setLabel('Send User to CC form directly');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:payonlinesystem.php


示例4: _initSetupForm

 protected function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('destination_id', 'size=60')->setLabel('Dwolla Account Number', 'Dwolla account ID receiving the funds. Format : XXX-XXX-XXXX.');
     $form->addText('app_key', 'size=60')->setLabel('Application Key', 'The key used for the Dwolla API');
     $form->addText('app_secret', 'size=60')->setLabel('Application Secret', 'The secret code used for the Dwolla API');
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:dwolla.php


示例5: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('web_id', array('size' => 20, 'maxlength' => 20))->setLabel('2000Charge.com website ID')->addRule('required');
     $form->addText('account')->setLabel('Your client account login id');
     $form->addText('pwd')->setLabel('Your client account login password');
     $form->addSelect('payment_option', '', array('options' => $this->payment_options))->setLabel(array('Payment Option', 'Display Only Specified Payment Options'));
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:charge2000.php


示例6: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('account_id')->setLabel(array('Merchant Account Id'));
     $form->addText('secret')->setLabel(array('Merchant Secret Key'));
     $form->addText('java_path')->setLabel(array('Unix path to java binary', 'for ex. java or /usr/bin/java'));
     $form->setDefault('java_path', 'java');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:ccavenue.php


示例7: _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


示例8: _afterInitSetupForm

    function _afterInitSetupForm(Am_Form_Setup $form)
    {
        $url = Am_Controller::escape(REL_ROOT_URL) . '/default/admin-content/p/newsletter/index';
        $text = ___("Once the plugin configuration is finished on this page, do not forget to add\n" . "a record on %saMember CP -> Protect Content -> Newsletters%s page", '<a href="' . $url . '" target="_blank" class="link">', '</a>');
        $form->addProlog(<<<CUT
<div class="warning_box">
    {$text}
</div>
CUT
);
        if ($this->canGetLists()) {
            $lists = array();
            try {
                foreach ($this->getLists() as $k => $v) {
                    $lists[$k] = $v['title'];
                }
            } catch (Exception $e) {
                //just log
                $this->getDi()->errorLogTable->logException($e);
            }
            $gr = $form->addGroup()->setLabel(___('Unsubscribe customer from selected newsletter threads'));
            $gr->addSelect('unsubscribe_after_signup')->loadOptions(array('' => ___('Please Select'), self::UNSUBSCRIBE_AFTER_ADDED => ___('After the user has been added'), self::UNSUBSCRIBE_AFTER_PAID => ___('After first payment has been completed')));
            $gr->addStatic()->setContent('<br><br>');
            $gr->addMagicSelect('unsubscribe_after_signup_lists')->loadOptions($lists);
        }
        parent::_afterInitSetupForm($form);
    }
开发者ID:grlf,项目名称:eyedock,代码行数:27,代码来源:Plugin.php


示例9: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("merchant_id")->setLabel(array('Merchant ID', 'Merchant unique identification number as provided by  Gate2Shop'));
     $form->addText("merchant_site_id")->setLabel(array('Merchant Site ID', 'Merchant web site unique identification number  as provided by Gate2Shop'));
     $form->addText("secret_key", array('size' => 40))->setLabel(array('Secret Key'));
     $form->addAdvCheckbox("testing")->setLabel("Test Mode Enabled");
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:gate2shop.php


示例10: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $plugin = $this->getId();
     $form->addText("business", array('size' => 40))->setLabel("Your PayPal Email Address");
     $form->addTextarea("alt_business", array('cols' => 40, 'rows' => 3))->setLabel("Other Paypal Email addresses that you have registered in WSO PRO");
     $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.");
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:warrior-plus.php


示例11: _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


示例12: _initSetupForm

 function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('siteid', array('size' => 20, 'maxlength' => 20))->setLabel("Site-ID: will be assigned by INET-CASH after you create your shop");
     $form->addSelect('lang', array(), array('options' => array('en' => 'English', 'de' => 'Deutsch', 'es' => 'Español', 'pl' => 'język polski', 'fr' => 'français')))->setLabel("Language");
     $form->addSelect('zahlart', array(), array('options' => array('all' => 'All available types', 'cc' => 'Credit Card', 'dd' => 'Direct Debit, only Germany/Austria', 'db' => 'Sofortuberweisung', 'dp' => 'Payment in advance')))->setLabel("Payment method");
     $form->addText('owntxt', array('size' => '18', 'maxlength' => 18))->setLabel("Your own text will be shown on the top of the payment form.");
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:inet-cash.php


示例13: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addInteger('pos_id', array('size' => 20))->setLabel('Id punktu płatności (pos_id)');
     $form->addText('key1', array('size' => 32, 'maxlength' => '32'))->setLabel('Klucz MD5');
     $form->addText('key2', array('size' => 32, 'maxlength' => '32'))->setLabel('Drugi klucz MD5');
     $form->addText('pos_auth_key', array('size' => 20, 'maxlength' => '32'))->setLabel('Parametr pos_auth_key');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:payu.php


示例14: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("login")->setLabel(array('API Login ID', '
         can be obtained from the same page as Transaction Key (see below)'));
     $form->addText("tkey")->setLabel(array('Transaction Key', "<p>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\n    Interface</p>\n<ol>\n<li> Log into the Merchant Interface\n<li> Select Settings from the Main Menu\n<li> Click on Obtain Transaction Key in the Security section\n<li> Type in the answer to the secret question configured on setup\n<li> Click Submit\n</ol>\n"));
     $form->addAdvCheckbox("test_mode")->setLabel("Test Mode Enabled");
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:authorize-echeck.php


示例15: _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


示例16: onSetupForms

 function onSetupForms(Am_Event_SetupForms $forms)
 {
     $form = new Am_Form_Setup('getclicky');
     $form->setTitle("GetClicky");
     $forms->addForm($form);
     $form->addInteger('getclicky_id')->setLabel(array("GetClicky Account Id"));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:getclicky.php


示例17: _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


示例18: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('a1lite_form_key')->setLabel(array('Ключ из HTML формы', 'Инструменты -> A1Lite -> Создать кнопку' . '<br />' . "затем скопировать 'value' параметра 'key' из полученной формы" . '<br />' . 'например <b>123456</b> из ' . htmlspecialchars('<input type="hidden" name="key" value="123456" />')));
     $form->addText('a1lite_api_secret_key')->setLabel(array('Секретный ключ', 'Инструменты -> A1Lite -> Управление -> Редактирование сервиса'));
     $form->addSelect('type', array(), array('options' => array('' => 'Любой тип оплаты', 'wm' => 'WebMoney', 'sms' => 'SMS', 'terminal' => 'Терминал оплаты Qiwi', 'qiwi_wallet' => 'Qiwi кошелек', 'w1' => 'W1', 'rbk_money' => 'РБК Money', 'ym' => 'Яндекс.Деньги', 'card' => 'Visa/MasterCard (ЕКО)', 'mb' => 'Visa/MasterCard (Мастер-Банк)', 'bm' => 'Visa/MasterCard (Банк Москвы)', 'esgp' => 'Терминал ЕСГП', 'russky_standart' => 'Visa/MasterCard (Русский Стандарт)', 'mc' => 'Мобильный платёж')))->setLabel('Тип оплаты, на который Вы хотите отправить пользователя');
     $form->addAdvCheckbox('testing')->setLabel(array('Тестирование сервиса', 'Имитацию отправки запроса из аккаунта A1pay' . '<br />' . 'c передачей данных скрипту-обработчику'));
 }
开发者ID:alexanderTsig,项目名称:arabic,代码行数:7,代码来源:a1pay.php


示例19: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $s = $form->addSelect("testing")->setLabel("test Mode Enabled");
     $s->addOption("Live account", self::MODE_LIVE);
     $s->addOption("Sandbox account", self::MODE_SANDBOX);
     //        $s->addOption("Account in test mode", self::MODE_TEST);
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:plimus.php


示例20: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('pspid', array('size' => 20))->setLabel('Your Affiliation Name in Postfinance');
     $form->addText('sha_in', array('size' => 20))->setLabel('SHA IN pass phrase');
     $form->addText('sha_out', array('size' => 20))->setLabel('SHA OUT pass phrase');
     $form->addAdvCheckbox('testing')->setLabel('Test Mode');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:7,代码来源:postfinance.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Am_HttpRequest类代码示例发布时间:2022-05-23
下一篇:
PHP Am_Form_Admin类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap