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


PHP Mage_Payment_Model_Method_Abstract::__construct方法代码示例

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

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

示例1: __construct

 public function __construct()
 {
     if ($this->isWeixinBrowser()) {
         $this->_canUseCheckout = false;
     }
     parent::__construct();
 }
开发者ID:guohuadeng,项目名称:stampApp,代码行数:7,代码来源:Payment.php


示例2: __construct

 public function __construct()
 {
     parent::__construct();
     if ($this->pm_id) {
         $this->_code = $this->_code . '_' . str_replace('_', '', $this->pm_id);
     }
 }
开发者ID:payssion,项目名称:plugin_magento,代码行数:7,代码来源:Payssion.php


示例3: __construct

 public function __construct()
 {
     parent::__construct();
     $this->_canCapture = $this->isFeatureSupported("Capturing");
     $this->_canCapturePartial = $this->isFeatureSupported("Capturing");
     $this->_canRefund = $this->isFeatureSupported("Refund");
     $this->_canRefundInvoicePartial = $this->isFeatureSupported("Refund");
     $this->_canUseInternal = $this->isFeatureSupported("Moto");
 }
开发者ID:jronatay,项目名称:ultimo-magento-jron,代码行数:9,代码来源:Method.php


示例4: __construct

 /**
  * @param array $params
  */
 public function __construct($params = array())
 {
     parent::__construct($params);
     if (!empty($params) && isset($params['caller_method'])) {
         // Set '_callerMethod' property
         $this->_callerMethod = $params['caller_method'];
     } else {
         Mage::throwException(Mage::helper('cls_paypal')->__('Internal error: cannot initialize the payment method.'));
     }
 }
开发者ID:xiaoguizhidao,项目名称:bb,代码行数:13,代码来源:Abstract.php


示例5: __construct

 public function __construct()
 {
     $this->pfConfig = Payfort_Fort_Config::getInstance();
     //        //$this->_code    = PAYFORT_FORT_PAYMENT_METHOD_CC;
     if ($this->pfConfig->getCcIntegrationType() == PAYFORT_FORT_INTEGRATION_TYPE_MERCAHNT_PAGE2) {
         $this->_formBlockType = 'payfort/form_cc_notsaved';
         $this->_infoBlockType = 'payfort/info_cc_notsaved';
     } else {
         $this->_formBlockType = 'payfort/form_gateway';
     }
     parent::__construct();
 }
开发者ID:payfort,项目名称:magento-payfort,代码行数:12,代码来源:Cc.php


示例6: __construct

 public function __construct()
 {
     $this->_helper = Mage::helper('capayable');
     $public_key = Mage::getStoreConfig('capayable/capayable/public_key');
     $secret_key = Mage::getStoreConfig('capayable/capayable/secret_key');
     /**
      * Initialize new api client
      * @var Tritac_CapayableApiClient_Client _client
      */
     $this->_client = new Tritac_CapayableApiClient_Client($public_key, $secret_key, $this->_helper->getMode());
     parent::__construct();
 }
开发者ID:blueglobeNL,项目名称:tritac-capayable,代码行数:12,代码来源:Payment.php


示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->_isBackendOrder = Mage::helper('ewayrapid')->isBackendOrder();
     $this->_connectionType = Mage::getStoreConfig('payment/ewayrapid_general/connection_type');
     if (!$this->_isBackendOrder) {
         if ($this->_connectionType === Eway_Rapid31_Model_Config::CONNECTION_TRANSPARENT) {
             $this->_infoBlockType = 'ewayrapid/info_transparent_notsaved';
             $this->_formBlockType = 'ewayrapid/form_transparent_notsaved';
         } elseif ($this->_connectionType === Eway_Rapid31_Model_Config::CONNECTION_SHARED_PAGE) {
             $this->_infoBlockType = 'ewayrapid/info_sharedpage_notsaved';
             $this->_formBlockType = 'ewayrapid/form_sharedpage_notsaved';
         }
     }
 }
开发者ID:programmerrahul,项目名称:vastecom,代码行数:15,代码来源:Notsaved.php


示例8: __construct

 /**
  * Construct
  */
 public function __construct()
 {
     parent::__construct();
     $this->_helper = Mage::getSingleton('PagSeguro_PagSeguro_Helper_Data');
 }
开发者ID:danielwalterrodrigues,项目名称:asus,代码行数:8,代码来源:NotificationMethod.php


示例9: __construct

 public function __construct()
 {
     bcscale(0);
     parent::__construct();
 }
开发者ID:QiuLihua83,项目名称:magento-chinapay-unionpay,代码行数:5,代码来源:Payment.php


示例10: __construct

 public function __construct()
 {
     $this->_canUseCheckout = false;
     parent::__construct();
 }
开发者ID:guohuadeng,项目名称:stampApp,代码行数:5,代码来源:Payment.php


示例11: __construct

 public function __construct()
 {
     $this->sqlModel = Mage::getModel('icecore/mysql4_iceCore');
     $this->ic_order = Mage::getModel('iceadvanced/order');
     parent::__construct();
 }
开发者ID:jonathanselander,项目名称:Magento,代码行数:6,代码来源:Pay.php


示例12: __construct

 /**
  * Model constructor
  *
  * @return void
  */
 public function __construct()
 {
     $this->getConfig();
     $this->_projectId = $this->_config->getProjectId();
     $this->_apiKey = $this->_config->getApiKey();
     $this->_language = $this->_config->getLanguage();
     $this->_currency = $this->_config->getCurrentCurrency();
     $this->_merchantId = $this->_config->getMerchantId();
     $this->_customerType = $this->_config->getCustomerType();
     $this->_countries = $this->_config->getCountries();
     return parent::__construct();
 }
开发者ID:rakuten-deutschland,项目名称:checkout-magento,代码行数:17,代码来源:Checkout.php


示例13: __construct

 /**
  * Construct
  */
 public function __construct()
 {
     parent::__construct();
     $this->_helper = Mage::helper('pagseguro');
 }
开发者ID:RobertaFortes,项目名称:assisteste,代码行数:8,代码来源:NotificationMethod.php


示例14: __construct

 public function __construct()
 {
     parent::__construct();
     $this->initializeOpenPayUConfiguration();
 }
开发者ID:par-orillonsoft,项目名称:plugin_magento,代码行数:5,代码来源:Payment.php


示例15: __construct

 public function __construct()
 {
     $called = true;
     parent::__construct();
 }
开发者ID:demenvil,项目名称:public,代码行数:5,代码来源:Bitcoin.php



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