Esempio n. 1
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Cache\FrontendInterface $attributeLabelCache
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Catalog\Model\Product\AttributeSet\BuildFactory $buildFactory
  * @param \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory $attributeFactory
  * @param \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype\ValidatorFactory $validatorFactory
  * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group\CollectionFactory $groupCollectionFactory
  * @param \Magento\Framework\Filter\FilterManager $filterManager
  * @param \Magento\Catalog\Helper\Product $productHelper
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Cache\FrontendInterface $attributeLabelCache, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Catalog\Model\Product\AttributeSet\BuildFactory $buildFactory, \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory $attributeFactory, \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype\ValidatorFactory $validatorFactory, \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group\CollectionFactory $groupCollectionFactory, \Magento\Framework\Filter\FilterManager $filterManager, \Magento\Catalog\Helper\Product $productHelper)
 {
     parent::__construct($context, $attributeLabelCache, $coreRegistry, $resultPageFactory);
     $this->buildFactory = $buildFactory;
     $this->filterManager = $filterManager;
     $this->productHelper = $productHelper;
     $this->attributeFactory = $attributeFactory;
     $this->validatorFactory = $validatorFactory;
     $this->groupCollectionFactory = $groupCollectionFactory;
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Cache\FrontendInterface $attributeLabelCache
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
  * @param \Magento\Framework\View\LayoutFactory $layoutFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Cache\FrontendInterface $attributeLabelCache, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory, \Magento\Framework\View\LayoutFactory $layoutFactory)
 {
     parent::__construct($context, $attributeLabelCache, $coreRegistry, $resultPageFactory);
     $this->resultJsonFactory = $resultJsonFactory;
     $this->layoutFactory = $layoutFactory;
 }
Esempio n. 3
0
 /**
  * Constructor
  *
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Cache\FrontendInterface $attributeLabelCache
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Cache\FrontendInterface $attributeLabelCache, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     parent::__construct($context, $attributeLabelCache, $coreRegistry, $resultPageFactory);
     $this->resultRedirectFactory = $resultRedirectFactory;
 }