Example #1
0
 public function plgTiendaPayment_paypal(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $language = JFactory::getLanguage();
     $language->load('plg_tienda_' . $this->_element, JPATH_ADMINISTRATOR, 'en-GB', true);
     $language->load('plg_tienda_' . $this->_element, JPATH_ADMINISTRATOR, null, true);
 }
Example #2
0
 /**
  * 
  * @param $subject
  * @param $config
  * @return unknown_type
  */
 function plgTiendaPayment_sagepayments(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     $this->merchant_id = $this->_getParam('merchant_id');
     $this->merchant_key = $this->_getParam('merchant_key');
 }
 /**
  * 
  * @param $subject
  * @param $config
  * @return unknown_type
  */
 function plgTiendaPayment_authorizedotnet(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     $this->login_id = $this->_getParam('login_id');
     $this->tran_key = $this->_getParam('tran_key');
 }
Example #4
0
 /**
  * Constructor
  *
  * For php4 compatability we must not use the __constructor as a constructor for plugins
  * because func_get_args ( void ) returns a copy of all passed arguments NOT references.
  * This causes problems with cross-referencing necessary for the observer design pattern.
  *
  * @param object $subject The object to observe
  * @param 	array  $config  An array that holds the plugin configuration
  * @since 1.5
  */
 function plgTiendaPayment_moneris(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     // Set class vars based on plugin's XML parameters
     $this->_store_id = $this->params->get('store_id');
     $this->_api_token = $this->params->get('api_token');
 }
Example #5
0
 /**
  * 
  * @param $subject
  * @param $config
  * @return unknown_type
  */
 function plgTiendaPayment_firstdata(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     $this->store_number = $this->_getParam('store_number');
     $this->key_file = $this->_getParam('key_file');
     $this->debugging = $this->params->get('debug');
 }
Example #6
0
 /**
  * 
  * @param $subject
  * @param $config
  * @return unknown_type
  */
 function plgTiendaPayment_cardpay(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
 }
Example #7
0
 /**
  * 
  * @param $subject
  * @param $config
  * @return unknown_type
  */
 function plgTiendaPayment_sagepay(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     $this->vendor_name = $this->_getParam('vendor_name');
 }