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


PHP Mage_Adminhtml_Controller_Action::_construct方法代码示例

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


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

示例1: _construct

 protected function _construct()
 {
     $this->includePhpApi();
     Qualityunit_Liveagent_Helper_Data::convertOldButton();
     parent::_construct();
     $this->settings = new Qualityunit_Liveagent_Helper_Settings();
 }
开发者ID:vinayshuklasourcefuse,项目名称:sareez,代码行数:7,代码来源:LiveagentController.php

示例2: _construct

 protected function _construct()
 {
     $this->ultility = Mage::getSingleton('solrsearch/ultility');
     $this->threadEnable = Mage::getResourceModel('solrsearch/solr')->threadEnable;
     $this->indexer = Mage::getResourceModel('solrsearch/indexer');
     parent::_construct();
 }
开发者ID:shebin512,项目名称:Magento_Zoff,代码行数:7,代码来源:SolrsearchController.php

示例3: array

 function _construct()
 {
     parent::_construct();
     Mage::getSingleton('core/session', array('name' => 'adminhtml'));
     if (Mage::app()->getRequest()->getParam('isAjax') && !Mage::getSingleton('admin/session')->isLoggedIn()) {
         echo json_encode(array('ajaxExpired' => 1, 'ajaxRedirect' => $this->getUrl("thememanager/adminhtml_thememanager/index")));
         die;
     }
 }
开发者ID:kiutisuperking,项目名称:eatsmartboxdev,代码行数:9,代码来源:ThememanagerController.php

示例4: _construct

 protected function _construct()
 {
     parent::_construct();
     // Define module dependent translate
     $this->setUsedModuleName('MageHackDay_TwoFactorAuth');
 }
开发者ID:abitduck,项目名称:Magento-Two-factor-Authentication,代码行数:6,代码来源:TwofactorauthController.php

示例5: _construct

 /**
  * Enter description here...
  *
  */
 protected function _construct()
 {
     $this->setFlag('index', 'no-preDispatch', true);
     return parent::_construct();
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:9,代码来源:ConfigController.php

示例6: _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

示例7: _construct

 /**
  * Constructor.
  * Set used module name for translations.
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setUsedModuleName("Xcom_Mapping");
     $this->_publicActions = array('value');
 }
开发者ID:ridhoq,项目名称:mxpi-twitter,代码行数:12,代码来源:AttributeController.php

示例8: _construct

 /**
  * Set title
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_title($this->__('System'))->_title($this->__('Redis Management'));
 }
开发者ID:m82amjaduk,项目名称:Magento-Redismanager,代码行数:10,代码来源:RedismanagerController.php

示例9: _construct

 public function _construct()
 {
     parent::_construct();
     $this->_currentDate = date("d-m-Y", Mage::getModel('core/date')->timestamp(time()));
 }
开发者ID:mSupply,项目名称:runnable_test_repo,代码行数:5,代码来源:AdminlogController.php

示例10: _construct

 public function _construct()
 {
     parent::_construct();
     $this->_helper = Mage::helper('logviewer');
 }
开发者ID:cewolf2002,项目名称:magento,代码行数:5,代码来源:IndexController.php


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