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


PHP Mage_Payment_Block_Form_Cc::_construct方法代码示例

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


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

示例1: _construct

 protected function _construct()
 {
     parent::_construct();
     //unset all session's transaparent;
     Mage::getModel('ewayrapid/request_transparent')->unsetSessionData();
     $this->setTemplate('ewayrapid/form/transparent_notsaved.phtml');
 }
开发者ID:programmerrahul,项目名称:vastecom,代码行数:7,代码来源:Notsaved.php

示例2: _construct

 protected function _construct()
 {
     parent::_construct();
     if (!$this->isWebpos()) {
     } else {
         $this->setTemplate('webpos/webpos/payment/ccsave.phtml');
     }
 }
开发者ID:cabrerabywaters,项目名称:magentoSunshine,代码行数:8,代码来源:Cc.php

示例3: _construct

 protected function _construct()
 {
     parent::_construct();
     // Only replace the template on frontend side else we lose the ability to place orders from magento admin (The condition we are using doesn't work for all pages example like Magento connect pages, but definitely works in our context)
     if (!Mage::app()->getStore()->isAdmin()) {
         $this->setTemplate('anattadesign/awesomecheckout/onepage/payment/form/cc.phtml');
     }
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:8,代码来源:AnattaDesign_AwesomeCheckout_Block_Form_Cc.php

示例4: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setIsRecurring(Mage::helper('ewayrapid')->isRecurring());
     $this->setTemplate('ewayrapid/form/transparent_saved.phtml');
     //unset all session's transaparent
     Mage::getModel('ewayrapid/request_transparent')->unsetSessionData();
 }
开发者ID:programmerrahul,项目名称:vastecom,代码行数:8,代码来源:Saved.php

示例5: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('adyen/form/cc.phtml');
     if (Mage::getStoreConfig('payment/adyen_abstract/title_renderer') == Adyen_Payment_Model_Source_Rendermode::MODE_TITLE_IMAGE) {
         $this->setMethodTitle('');
     }
 }
开发者ID:raphaelpor,项目名称:magento,代码行数:8,代码来源:Cc.php

示例6: _construct

 public function _construct()
 {
     parent::_construct();
     /**
      * we updated the template to add a "save this card" checkbox to the
      * "Pay with Card" payment option
      */
     $this->setTemplate('customerparadigm_cardsavecheckbox/form/cc.phtml');
 }
开发者ID:agentelinux,项目名称:CardSaveCheckbox,代码行数:9,代码来源:Cc.php

示例7: _construct

 protected function _construct()
 {
     parent::_construct();
     if (!Mage::getStoreConfigFlag('payment/wirecard_checkout_page_cc/pci3DssSaqAEnable', Mage::app()->getStore()->getId())) {
         $this->setTemplate('wirecard_checkout_page/seamless/cc.phtml');
     } else {
         $this->setTemplate('wirecard_checkout_page/seamless/cc-nopci.phtml');
     }
 }
开发者ID:netzkollektiv,项目名称:wirecard-checkout-magento,代码行数:9,代码来源:Cc.php

示例8: _construct

 /**
  * Set the template
  */
 protected function _construct()
 {
     parent::_construct();
     // Utilise a differente template if we're using Hosted Fields
     if (Mage::getModel('gene_braintree/paymentmethod_creditcard')->getConfigData('form_integration') == Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_HOSTED) {
         $this->setTemplate('gene/braintree/creditcard/hostedfields.phtml');
     } else {
         $this->setTemplate('gene/braintree/creditcard.phtml');
     }
 }
开发者ID:kiutisuperking,项目名称:eatsmartboxdev,代码行数:13,代码来源:Creditcard.php

示例9: _construct

 protected function _construct()
 {
     parent::_construct();
     $paymentMethodIcon = $this->getSkinUrl('images/adyen/img_trans.gif');
     $label = Mage::helper('adyen')->_getConfigData("title", "adyen_cc");
     $mark = Mage::getConfig()->getBlockClassName('core/template');
     $mark = new $mark();
     $mark->setTemplate('adyen/payment/payment_method_label.phtml')->setPaymentMethodIcon($paymentMethodIcon)->setPaymentMethodLabel($label)->setPaymentMethodClass("adyen_cc");
     $this->setTemplate('adyen/form/cc.phtml')->setMethodTitle('')->setMethodLabelAfterHtml($mark->toHtml());
 }
开发者ID:AmineCherrai,项目名称:rostanvo,代码行数:10,代码来源:Cc.php

示例10: _construct

 protected function _construct()
 {
     parent::_construct();
     /** @var Wirecard_CheckoutSeamless_Helper_Data $helper */
     $helper = Mage::helper('wirecard_checkoutseamless');
     if (!$helper->getConfigData('ccard/pci3_dss_saq_a_enable')) {
         $this->setTemplate('wirecard/checkoutseamless/seamless/cc.phtml');
     } else {
         $this->setTemplate('wirecard/checkoutseamless/seamless/cc-nopci.phtml');
     }
 }
开发者ID:wirecard,项目名称:magento-wcs,代码行数:11,代码来源:Cc.php

示例11: _construct

 protected function _construct()
 {
     parent::_construct();
     $template = $this->setTemplate('pinpay/form/pinpay.phtml');
     if (!Mage::app()->getStore()->isAdmin()) {
         $mark = Mage::getConfig()->getBlockClassName('core/template');
         $mark = new $mark();
         $mark->setTemplate('pinpay/form/mark.phtml');
         // Appends the "Powered by PinPayments logo to payment method description
         $template->setMethodLabelAfterHtml($mark->toHtml());
     }
 }
开发者ID:andrew-dwyer,项目名称:PINpayments,代码行数:12,代码来源:Form.php

示例12: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('morecc/cc.phtml');
 }
开发者ID:xiaoguizhidao,项目名称:BumblebeeSite,代码行数:5,代码来源:Form.php

示例13: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->_config = Mage::helper('ebayenterprise_creditcard')->getConfigModel();
     $this->setTemplate('ebayenterprise_creditcard/form/cc.phtml');
 }
开发者ID:sirishreddyg,项目名称:magento-retail-order-management,代码行数:6,代码来源:Cc.php

示例14: _construct

 /**
  * Internal constructor
  * Set info template for payment step
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('authorizenet/directpost/info.phtml');
 }
开发者ID:hyhoocchan,项目名称:mage-local,代码行数:10,代码来源:Form.php

示例15: _construct

 /**
  * Set the method template
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('datatrans/hiddenmode/form/cc.phtml');
 }
开发者ID:voolitels,项目名称:Magento-Datatrans,代码行数:8,代码来源:Cc.php


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