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


PHP Context::getResultRedirectFactory方法代码示例

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


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

示例1: __construct

 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory)
 {
     $this->resultPageFactory = $resultPageFactory;
     $this->resultForwardFactory = $resultForwardFactory;
     $this->resultRedirectFactory = $context->getResultRedirectFactory();
     parent::__construct($context);
 }
开发者ID:ksz2013,项目名称:B05032-Foggyline_Helpdesk,代码行数:7,代码来源:Ticket.php

示例2: __construct

 public function __construct(\Magento\Backend\App\Action\Context $context, \Wyomind\Watchlog\Cron\PeriodicalReport $periodicalReport, \Wyomind\Watchlog\Helper\Data $watchlogHelper)
 {
     $this->resultRedirectFactory = $context->getResultRedirectFactory();
     $this->periodicalReport = $periodicalReport;
     $this->watchlogHelper = $watchlogHelper;
     parent::__construct($context);
 }
开发者ID:Doability,项目名称:magento2dev,代码行数:7,代码来源:Report.php

示例3: __construct

 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Model\Context $contextModel
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @param \Wyomind\Core\Helper\Data $coreHelper
  * @param \Wyomind\SimpleGoogleShopping\Helper\Data $sgsHelper
  * @param \Wyomind\SimpleGoogleShopping\Model\Feeds $sgsModel
  * @param \Magento\Framework\Model\Context $context_
  * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory
  * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory
  * @param \Magento\Framework\Filesystem\Directory\ReadFactory $directoryRead
  * @param \Wyomind\SimpleGoogleShopping\Helper\Parser $parserHelper
  * @param \Magento\Eav\Api\AttributeRepositoryInterface $attributeRepository
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Model\Context $contextModel, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Wyomind\Core\Helper\Data $coreHelper, \Wyomind\SimpleGoogleShopping\Helper\Data $sgsHelper, \Wyomind\SimpleGoogleShopping\Model\Feeds $sgsModel, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory, \Magento\Framework\Filesystem\Directory\ReadFactory $directoryRead, \Wyomind\SimpleGoogleShopping\Helper\Parser $parserHelper, \Magento\Eav\Api\AttributeRepositoryInterface $attributeRepository)
 {
     $this->coreRegistry = $coreRegistry;
     $this->resultPageFactory = $resultPageFactory;
     $this->coreHelper = $coreHelper;
     $this->cacheManager = $contextModel->getCacheManager();
     $this->sgsHelper = $sgsHelper;
     $this->sgsModel = $sgsModel;
     $this->resultForwardFactory = $resultForwardFactory;
     $this->resultRedirectFactory = $context->getResultRedirectFactory();
     $this->resultRawFactory = $resultRawFactory;
     $this->parserHelper = $parserHelper;
     $this->attributeRepository = $attributeRepository;
     $this->directoryRead = $directoryRead->create("app/code/Wyomind/SimpleGoogleShopping");
     parent::__construct($context);
 }
开发者ID:Doability,项目名称:magento2dev,代码行数:31,代码来源:Feeds.php

示例4: __construct

 public function __construct(\Magento\Backend\App\Action\Context $context, \Wyomind\Watchlog\Cron\History $history)
 {
     $this->resultRedirectFactory = $context->getResultRedirectFactory();
     $this->history = $history;
     parent::__construct($context);
 }
开发者ID:Doability,项目名称:magento2dev,代码行数:6,代码来源:History.php


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