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


PHP Mage_Core_Controller_Front_Action::_construct方法代码示例

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


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

示例1: _construct

 /**
  * 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');
 }
开发者ID:adderall,项目名称:magento-retail-order-management,代码行数:11,代码来源:CheckoutController.php

示例2: _construct

 public function _construct()
 {
     parent::_construct();
     if (!Mage::helper('mw_socialgift')->isEnabled()) {
         Mage::app()->getResponse()->setRedirect(Mage::getBaseUrl());
     }
     $request = $this->getRequest();
 }
开发者ID:GaynorH,项目名称:prestigedrinks,代码行数:8,代码来源:IndexController.php

示例3: _construct

 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();
 }
开发者ID:patrickouc,项目名称:magento-social-login,代码行数:10,代码来源:TudouController.php

示例4: SuccessAction

 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();
 }
开发者ID:thiagolima-bm,项目名称:cart-magento,代码行数:11,代码来源:InformationController.php

示例5: _construct

 public function _construct()
 {
     parent::_construct();
     $this->root_path = Mage::helper('debug')->getRootPath();
     $this->directory_separator = Mage::helper('debug')->getDirectorySeparator();
 }
开发者ID:baltechies,项目名称:n98-magerun-modules,代码行数:6,代码来源:IndexController.php

示例6: nomethodAction

 public function nomethodAction()
 {
     parent::_construct();
     $this->loadLayout();
     $this->renderLayout();
 }
开发者ID:ndevalle,项目名称:cart-magento,代码行数:6,代码来源:CheckoutController.php

示例7: _construct

 public function _construct()
 {
     return parent::_construct();
 }
开发者ID:patrickouc,项目名称:magento-social-login,代码行数:4,代码来源:WeiboController.php

示例8: _construct

 /**
  * Instantiate config
  */
 protected function _construct()
 {
     $this->logger = Ideasa_Base_Logger::getLogger(__CLASS__);
     parent::_construct();
 }
开发者ID:adrianomelo5,项目名称:magento,代码行数:8,代码来源:CronController.php

示例9: _construct

 /**
  * Protected construct method
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->helper = Mage::helper('solvingmagento_affiliateproduct');
 }
开发者ID:hafeez3000,项目名称:Solvingmagento_AffiliateProduct,代码行数:10,代码来源:RedirectController.php

示例10: _construct

 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_config = Mage::getModel('paypal/config', array(Mage_Paypal_Model_Config::METHOD_WPP_EXPRESS));
 }
开发者ID:joebushi,项目名称:magento-mirror,代码行数:8,代码来源:ExpressController.php

示例11: _construct

 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
 }
开发者ID:adrianomelo5,项目名称:magento,代码行数:7,代码来源:BoletoController.php

示例12: _construct

 /**
  * Construct
  */
 public function _construct()
 {
     parent::_construct();
 }
开发者ID:Aya-Mousa,项目名称:HyperpayMagentoo,代码行数:7,代码来源:ResponseController.php

示例13: _construct

 /**
  * Disable layout for all controller actions
  * @see Mage_Core_Controller_Varien_Action::_construct()
  */
 public function _construct()
 {
     parent::_construct();
     $this->loadLayout(false);
     $this->renderLayout();
 }
开发者ID:igorvasiliev4,项目名称:magento_code,代码行数:10,代码来源:AccountController.php

示例14: _construct

 /**
  * Instantiate config
  */
 protected function _construct()
 {
     parent::_construct();
     $parameters = array('params' => array($this->_configMethod));
     $this->_config = Mage::getModel($this->_configType, $parameters);
 }
开发者ID:natxetee,项目名称:magento2,代码行数:9,代码来源:Abstract.php

示例15: _construct

 /**
  * Get Mollie core
  */
 public function _construct()
 {
     $this->_api = Mage::Helper('mpm/api');
     $this->_model = Mage::getModel('mpm/api');
     parent::_construct();
 }
开发者ID:Archipel,项目名称:Magento,代码行数:9,代码来源:ApiController.php


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