當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Am_Form_Setup::addSelect方法代碼示例

本文整理匯總了PHP中Am_Form_Setup::addSelect方法的典型用法代碼示例。如果您正苦於以下問題:PHP Am_Form_Setup::addSelect方法的具體用法?PHP Am_Form_Setup::addSelect怎麽用?PHP Am_Form_Setup::addSelect使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Am_Form_Setup的用法示例。


在下文中一共展示了Am_Form_Setup::addSelect方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("merchant")->setLabel(array('Your merchant identifier', 'received from ePayment'));
     $form->addText("secret")->setLabel(array('Secret Key', 'received from ePayment'));
     $form->addSelect("testing", array(), array('options' => array(self::NO => 'No', self::YES => 'Yes')))->setLabel(array('Testing', 'enable/disable testmode'));
     $form->addSelect("language", array(), array('options' => array('ro' => 'Romanian', 'en' => 'English', 'fr' => 'French', 'it' => 'Italian', 'de' => 'German', 'es' => 'Spanish')))->setLabel('Site Language');
 }
開發者ID:grlf,項目名稱:eyedock,代碼行數:7,代碼來源:epayment.php

示例2: array

 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

示例3: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('CustomerID', array('size' => 20))->setLabel(array('Customer ID', 'Your eWAY Customer ID'))->addRule('required');
     $form->addText('UserName', array('size' => 20))->setLabel(array('User name', 'Your eWAY Customer User Name'))->addRule('required');
     $form->addText('PageTitle ', array('size' => 60))->setLabel(array('Page Title', 'This is value will be displayed as the title of the browser.
             Default: eWAY Hosted Payment Page'));
     $form->addText('PageDescription', array('size' => 200))->setLabel(array('Page Description', 'This value will be displayed above the Transaction Details.
             Default: Blank'));
     $form->addText('PageFooter', array('size' => 60))->setLabel(array('Page Footer', 'This value will be displayed below the Transaction Details.'));
     $form->addText('CompanyLogo', array('size' => 200))->setLabel(array('URL company logo', 'The url of the image can be hosted on the
             merchants website and pass the secure
             https:// path of the image to be displayed
             at the top of the website. This is the top
             image block on the webpage and is
             restricted to 960px X 65px. A default secure
             image is used if none is supplied.'));
     $form->addText('Pagebanner', array('size' => 200))->setLabel(array('URL page banner', 'The url of the image can be hosted on the
             merchants website and pass the secure
             https:// path of the image to be displayed
             at the top of the website. This is the second
             image block on the webpage and is
             restricted to 960px X 65px. A default secure
             image is used if none is supplied.'));
     $form->addAdvCheckbox('ModifiableCustomerDetails')->setLabel(array('Modifiable customer cetails', 'This field specifies if the customer can
             change the contact details on the payment
             page This is useful if the merchant is not
             collecting details on their site.'));
     $form->addSelect("Language", array(), array('options' => array('EN' => 'English', 'ES' => 'Spanish', 'FR' => 'French', 'DE' => 'German', 'NL' => 'Dutch')))->setLabel('Language');
     $form->addText('CompanyName', array('size' => 60))->setLabel(array('Company name', 'This will be displayed as the company the
             customer is purchasing from, including this
             is highly recommended.'));
     $form->addSelect("Country", array(), array('options' => array('UK' => 'United Kingdom', 'AU' => 'Australia', 'NZ' => 'New Zeland')))->setLabel('Country');
 }
開發者ID:alexanderTsig,項目名稱:arabic,代碼行數:33,代碼來源:eway-sp.php

示例4: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('shop_reference')->setLabel('Shop ID')->addRule('required');
     $form->addText('shop_name')->setLabel('Shop Name')->addRule('required');
     $form->addSelect('type')->setLabel('Payment Type')->loadOptions(array('' => '-- Please Select --', 'ecard' => 'Card', 'etransfer' => 'Bank Transfer', 'payment' => 'User Choice'))->addRule('required');
     $form->addSelect('lang')->setLabel('Language')->loadOptions(array('' => '-- Please Select --', 'pl' => 'Polish', 'en' => 'English', 'cz' => 'Czech', 'de' => 'Deutsch', 'dk' => 'Denmark', 'fi' => 'Deutsch', 'fr' => 'France', 'hu' => 'Hungary', 'it' => 'Italiano', 'ro' => 'Romanian', 'se' => 'Swedish', 'sk' => 'Slovakia', 'sl' => 'Slovenia', 'sp' => 'Spain'))->addRule('required');
 }
開發者ID:grlf,項目名稱:eyedock,代碼行數:7,代碼來源:paymento.php

示例5: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("email")->setLabel(array('Your E-mail:', 'received from DineroMail'));
     $form->addText("merchant")->setLabel(array('Your merchant identifier', 'received from DineroMail'));
     $form->addText("PIN")->setLabel(array('Your Pin', 'recieved from DineroMail'));
     $form->addText("secret")->setLabel(array('Your password', 'DM -> My account -> Config Ipn -> Password'));
     $form->addSelect("country", array(), array('options' => array('1' => 'Argentina', '2' => 'Brazil', '3' => 'Chile', '4' => 'Mexico')))->setLabel('Merchant Country');
     $form->addSelect("language", array(), array('options' => array('en' => 'English', 'es' => 'Spanish', 'pt' => 'Portuguese')))->setLabel('Site Language');
 }
開發者ID:alexanderTsig,項目名稱:arabic,代碼行數:9,代碼來源:dineromail.php

示例6: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('company')->setLabel(array('Company Name', 'your Company name as registered at FastSpring'));
     $form->addText('key')->setLabel(array('Private Security Key', 'FastSpring -> Account -> Notification Configuration -> Order Notification -> Security'));
     $form->addText('api_user')->setLabel(array('API Username', 'used to handle cancellations'));
     $form->addText('api_pass')->setLabel(array('API Password', 'used to handle cancellations'));
     $form->addSelect("instant", array(), array('options' => array('' => 'No', '1' => 'Yes')))->setLabel(array('Instant order process', 'leave it disabled for default product pages'));
     $form->addSelect("testing", array(), array('options' => array('' => 'No', '1' => 'Yes')))->setLabel('Test Mode');
 }
開發者ID:grlf,項目名稱:eyedock,代碼行數:9,代碼來源:fastspring.php

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

示例8: _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'));
     $sel = $form->addSelect('mode')->setLabel('Mode');
     $sel->loadOptions(array('TEST' => 'Test mode', 'LIVE' => 'Live mode'));
 }
開發者ID:alexanderTsig,項目名稱:arabic,代碼行數:7,代碼來源:ebs.php

示例9: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText("aid")->setLabel(array('Sub-Account-ID', ''))->addRule('required');
     $form->addText("portalid")->setLabel(array('Portal-ID', ''))->addRule('required');
     $form->addText('secret_key', 'size=40')->setLabel(array('Key', ''))->addRule('required');
     $form->addSelect("testing", array(), array('options' => array('' => 'No', '1' => 'Yes')))->setLabel('Test Mode');
 }
開發者ID:grlf,項目名稱:eyedock,代碼行數:7,代碼來源:payone.php

示例10: array

    function _initSetupForm(Am_Form_Setup $form)
    {
        $form->setTitle('Selectel');
        $form->addText('access_key', array('size' => 40))->setLabel('Your account login')->addRule('required');
        $form->addPassword('secret_key', array('size' => 40))->setLabel(array('Password for Cloud Storage', '(separate password then for Control Panel)'))->addRule('required');
        $form->addText('expire', array('size' => 5))->setLabel('Video link life-time, min');
        $form->setDefault('expire', 15);
        if ($this->isConfigured()) {
            try {
                $containers = $this->getDi()->cacheFunction->call(array($this->getConnector(), 'getContainersList'), array(), array(), $this->cacheLifetime);
                $containers = array('' => '== Please select public Container ==') + $containers;
            } catch (Exception $e) {
                $containers = array('' => 'Please create public container');
            }
            $form->addSelect('links_container', '', array('options' => array_combine($containers, $containers)))->setLabel(array('Container for links', 'aMember will create links in the following format: http://yourcloudstorageurl.com/CONTAINERNAME/uniquekey/filename.mp4'))->addRule('required');
        }
        $msg = <<<EOT
    Make sure that you store all your files in private containers.
    In order to provide an access to the files, create one free container, and specify it in plugin configuration.
    aMember will create symlinks to the files and put these symilnks to that public container. Links are one-time and time-limited.
    For example if you name your public container "download", end-user will see these links:
    https://88901.selcdn.ru/download/9365d4a676845f607e46e19038305ba0/filename.mp4

EOT;
        $form->addProlog(<<<CUT
<div class="info"><strong>{$msg}</strong></div>
CUT
);
    }
開發者ID:grlf,項目名稱:eyedock,代碼行數:29,代碼來源:selectel.php

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

示例12: _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');
 }
開發者ID:subashemphasize,項目名稱:test_site,代碼行數:7,代碼來源:zombaio.php

示例13: _initSetupForm

 public function _initSetupForm(Am_Form_Setup $form)
 {
     $form->addText('merchant', array('size' => 20, 'maxlength' => 16))->setLabel("Dibs Merchant ID")->addRule('required');
     $form->addText('key1', array('size' => 20, 'maxlength' => 32))->setLabel("Dibs Secret Key1")->addRule('required');
     $form->addText('key2', array('size' => 20, 'maxlength' => 32))->setLabel("Dibs Secret Key2")->addRule('required');
     $form->addSelect('lang', array(), array('options' => array('da' => 'Danish', 'sv' => 'Swedish', 'no' => 'Norwegian', 'en' => 'English', 'nl' => 'Dutch', 'de' => 'German', 'fr' => 'French', 'fi' => 'Finnish', 'es' => 'Spanish', 'it' => 'Italian', 'fo' => 'Faroese', 'pl' => 'Polish')))->setLabel('The payment window language');
 }
開發者ID:subashemphasize,項目名稱:test_site,代碼行數:7,代碼來源:dibs.php

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

示例15: array

 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


注:本文中的Am_Form_Setup::addSelect方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。