/** * Constructor */ public function __construct() { parent::__construct(); if ($this->getConfigData('active') == 1) { $this->_initEnvironment(null); } }
public function __construct() { parent::__construct(); if ($this->getConfigData('active') == 1) { Braintree_Configuration::environment($this->getConfigData('environment')); Braintree_Configuration::merchantId($this->getConfigData('merchant_id')); Braintree_Configuration::publicKey($this->getConfigData('public_key')); Braintree_Configuration::privateKey($this->getConfigData('private_key')); $this->_merchantAccountId = $this->getConfigData('merchant_account_id'); $this->_useVault = $this->getConfigData('use_vault'); } }
public function __construct() { parent::__construct(); $this->_soapClassMap = array_map(array(Mage::getConfig(), 'getModelClassName'), $this->_soapClassMap); }
public function __construct() { $this->_profile = new Gorilla_Paymentech_Model_Profile(); parent::__construct(); }