本文整理汇总了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());
}
示例2: __construct
public function __construct($op1 = NULL, $op2 = NULL, $op3 = array())
{
if ($op1 != NULL) {
return parent::__construct($op1, $op2, $op3);
} else {
return $this;
}
}
示例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+'));
}
示例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);
}
示例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')));
}
示例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');
}