当前位置: 首页>>代码示例>>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方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Initializes the PEAR service implementation.
  *
  * @return void
  */
 public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array())
 {
     // call the parent constructor
     parent::__construct($request, $response, $invokeArgs);
     // initialize the PEAR service implementation
     $this->_service = Faett_Core_Factory::get(Mage::getBaseDir());
 }
开发者ID:BGCX067,项目名称:faett-manager-svn-to-git,代码行数:12,代码来源:ChannelController.php

示例2: __construct

 public function __construct($op1 = NULL, $op2 = NULL, $op3 = array())
 {
     if ($op1 != NULL) {
         return parent::__construct($op1, $op2, $op3);
     } else {
         return $this;
     }
 }
开发者ID:AleksNesh,项目名称:pandora,代码行数:8,代码来源:UpslabelController.php

示例3: __construct

 /**
  * Initializes the PEAR service implementation.
  *
  * @return void
  */
 public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array())
 {
     // call the parent constructor
     parent::__construct($request, $response, $invokeArgs);
     // initialize the PEAR service implementation
     $this->_service = Faett_Core_Factory::get(Mage::getBaseDir());
     // initialize the console log stream in 'html' mode
     $this->_service->getUI()->setLogStream($this->_logStream = fopen('php://memory', 'w+'));
 }
开发者ID:BGCX067,项目名称:faett-manager-svn-to-git,代码行数:14,代码来源:PackageController.php

示例4: __construct

 /**
  * @param Mage_Core_Controller_Request_Http $request
  * @param Mage_Core_Controller_Response_Http $response
  * @param string $areaCode
  * @param Magento_ObjectManager $objectManager
  * @param Mage_Core_Controller_Varien_Front $frontController
  * @param Mage_Core_Model_Layout_Factory $layoutFactory
  * @param Mage_Theme_Model_Uploader_Service $service
  * @param array $invokeArgs
  */
 public function __construct(Mage_Core_Controller_Request_Http $request, Mage_Core_Controller_Response_Http $response, $areaCode = null, Magento_ObjectManager $objectManager, Mage_Core_Controller_Varien_Front $frontController, Mage_Core_Model_Layout_Factory $layoutFactory, Mage_Theme_Model_Uploader_Service $service, array $invokeArgs = array())
 {
     $this->_serviceModel = $service;
     parent::__construct($request, $response, $areaCode, $objectManager, $frontController, $layoutFactory, $invokeArgs);
 }
开发者ID:,项目名称:,代码行数:15,代码来源:

示例5: __construct

 /**
  * @param Zend_Controller_Request_Abstract $request
  * @param Zend_Controller_Response_Abstract $response
  * @param array $initParams May contain:
  *                          - 'validator_helper' => EbayEnterprise_Eb2cCore_Helper_Validator
  */
 public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $initParams = array())
 {
     parent::__construct($request, $response, $initParams);
     list($this->_validatorHelper) = $this->_checkTypes($this->_nullCoalesce($initParams, 'validator_helper', Mage::helper('eb2ccore/validator')));
 }
开发者ID:sirishreddyg,项目名称:magento-retail-order-management,代码行数:11,代码来源:ValidateController.php

示例6: __construct

 public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array())
 {
     parent::__construct($request, $response, $invokeArgs);
     $this->aplazameClient = Mage::getModel('aplazame/api_client');
 }
开发者ID:aplazame,项目名称:magento,代码行数:5,代码来源:AplazameController.php


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