/**
  * prepare instances of the config model and the helper.
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_helper = Mage::helper('ebayenterprise_paypal');
     $this->_config = $this->_helper->getConfigModel();
     $this->_logger = Mage::helper('ebayenterprise_magelog');
     $this->_context = Mage::helper('ebayenterprise_magelog/context');
 }
Exemplo n.º 2
0
 public function _construct()
 {
     parent::_construct();
     if (!Mage::helper('mw_socialgift')->isEnabled()) {
         Mage::app()->getResponse()->setRedirect(Mage::getBaseUrl());
     }
     $request = $this->getRequest();
 }
 public function _construct()
 {
     $this->consumer_key = '460fea519c74df2b';
     $this->consumer_secret = 'c1642d34f7f9fb682e2991fd1f4388f9';
     $this->baseUrl = 'http://api.tudou.com/v3/';
     $this->siteUrl = 'http://api.tudou.com/auth';
     $this->callback = 'http://arvato.cosmocommerce.com/sns/tudou/callback/';
     $this->config = array('callbackUrl' => $this->callback, 'siteUrl' => $this->siteUrl, 'consumerKey' => $this->consumer_key, 'consumerSecret' => $this->consumer_secret);
     return parent::_construct();
 }
 public function _construct()
 {
     $this->consumer_key = 'ad7e3dbe7cf88772ad191a308ef66478';
     $this->consumer_secret = 'f22ff384d79afde7337c1355346ad8c2';
     $this->baseUrl = 'http://api.fanfou.com/';
     $this->siteUrl = 'http://fanfou.com/oauth';
     $this->callback = 'http://arvato.cosmocommerce.com/sns/fanfou/callback/';
     $this->config = array('callbackUrl' => $this->callback, 'siteUrl' => $this->siteUrl, 'consumerKey' => $this->consumer_key, 'consumerSecret' => $this->consumer_secret);
     return parent::_construct();
 }
 public function SuccessAction()
 {
     parent::_construct();
     $this->loadLayout();
     $block = $this->getLayout()->createBlock('mpexpress/information_success')->setTemplate('mpexpress/information/success.phtml');
     $this->getLayout()->getBlock('content')->append($block);
     $root = $this->getLayout()->getBlock('root');
     $template = "page/1column.phtml";
     $root->setTemplate($template);
     $this->renderLayout();
 }
 public function _construct()
 {
     parent::_construct();
     $this->root_path = Mage::helper('debug')->getRootPath();
     $this->directory_separator = Mage::helper('debug')->getDirectorySeparator();
 }
Exemplo n.º 7
0
 public function nomethodAction()
 {
     parent::_construct();
     $this->loadLayout();
     $this->renderLayout();
 }
 public function _construct()
 {
     return parent::_construct();
 }
Exemplo n.º 9
0
 /**
  * Instantiate config
  */
 protected function _construct()
 {
     $this->logger = Ideasa_Base_Logger::getLogger(__CLASS__);
     parent::_construct();
 }
 /**
  * Protected construct method
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->helper = Mage::helper('solvingmagento_affiliateproduct');
 }
Exemplo n.º 11
0
 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_config = Mage::getModel('paypal/config', array(Mage_Paypal_Model_Config::METHOD_WPP_EXPRESS));
 }
Exemplo n.º 12
0
 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
 }
 /**
  * Construct
  */
 public function _construct()
 {
     parent::_construct();
 }
 /**
  * Disable layout for all controller actions
  * @see Mage_Core_Controller_Varien_Action::_construct()
  */
 public function _construct()
 {
     parent::_construct();
     $this->loadLayout(false);
     $this->renderLayout();
 }
Exemplo n.º 15
0
 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
     $parameters = array('params' => array($this->_configMethod));
     $this->_config = Mage::getModel($this->_configType, $parameters);
 }
Exemplo n.º 16
0
 /**
  * Get Mollie core
  */
 public function _construct()
 {
     $this->_api = Mage::Helper('mpm/api');
     $this->_model = Mage::getModel('mpm/api');
     parent::_construct();
 }
Exemplo n.º 17
0
 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_config = Mage::getModel($this->_configType, array($this->_configMethod));
 }
Exemplo n.º 18
0
 protected function _construct()
 {
     parent::_construct();
     $this->_request = Mage::app()->getRequest()->getParams();
 }