Ejemplo n.º 1
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param Initialization\Helper $initializationHelper
  * @param \Magento\Catalog\Model\Product\Copier $productCopier
  * @param \Magento\Catalog\Model\Product\TypeTransitionManager $productTypeManager
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, Initialization\Helper $initializationHelper, \Magento\Catalog\Model\Product\Copier $productCopier, \Magento\Catalog\Model\Product\TypeTransitionManager $productTypeManager)
 {
     $this->initializationHelper = $initializationHelper;
     $this->productCopier = $productCopier;
     $this->productTypeManager = $productTypeManager;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 2
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param Initialization\StockDataFilter $stockFilter
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, Initialization\StockDataFilter $stockFilter, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory)
 {
     $this->stockFilter = $stockFilter;
     parent::__construct($context, $productBuilder);
     $this->resultPageFactory = $resultPageFactory;
     $this->resultForwardFactory = $resultForwardFactory;
 }
Ejemplo n.º 3
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor, Filter $filter, CollectionFactory $collectionFactory)
 {
     $this->filter = $filter;
     $this->collectionFactory = $collectionFactory;
     $this->_productPriceIndexerProcessor = $productPriceIndexerProcessor;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 4
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter
  * @param \Magento\Catalog\Model\Product\Validator $productValidator
  * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
  * @param \Magento\Framework\View\LayoutFactory $layoutFactory
  * @param \Magento\Catalog\Model\ProductFactory $productFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter, \Magento\Catalog\Model\Product\Validator $productValidator, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory, \Magento\Framework\View\LayoutFactory $layoutFactory, \Magento\Catalog\Model\ProductFactory $productFactory)
 {
     $this->_dateFilter = $dateFilter;
     $this->productValidator = $productValidator;
     parent::__construct($context, $productBuilder);
     $this->resultJsonFactory = $resultJsonFactory;
     $this->layoutFactory = $layoutFactory;
     $this->productFactory = $productFactory;
 }
Ejemplo n.º 5
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param Initialization\Helper $initializationHelper
  * @param \Magento\Catalog\Model\Product\Copier $productCopier
  * @param \Magento\Catalog\Model\Product\TypeTransitionManager $productTypeManager
  * @param \Magento\Catalog\Api\CategoryLinkManagementInterface $categoryLinkManagement
  * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, Initialization\Helper $initializationHelper, \Magento\Catalog\Model\Product\Copier $productCopier, \Magento\Catalog\Model\Product\TypeTransitionManager $productTypeManager, \Magento\Catalog\Api\CategoryLinkManagementInterface $categoryLinkManagement, \Magento\Catalog\Api\ProductRepositoryInterface $productRepository)
 {
     $this->initializationHelper = $initializationHelper;
     $this->productCopier = $productCopier;
     $this->productTypeManager = $productTypeManager;
     $this->categoryLinkManagement = $categoryLinkManagement;
     $this->productRepository = $productRepository;
     parent::__construct($context, $productBuilder);
 }
 /**
  * @param Context $context
  * @param Builder $productBuilder
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  * @param ScopeConfigInterface $scopeConfig
  */
 public function __construct(Context $context, Builder $productBuilder, Filter $filter, CollectionFactory $collectionFactory, SetFactory $attributeSetFactory, ScopeConfigInterface $scopeConfig, Configurable $configurableProduct, EntityFactory $entityFactory)
 {
     $this->filter = $filter;
     $this->collectionFactory = $collectionFactory;
     $this->attributeSetFactory = $attributeSetFactory;
     $this->scopeConfig = $scopeConfig;
     $this->configurableProduct = $configurableProduct;
     $this->entityFactory = $entityFactory;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 7
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor)
 {
     $this->_productPriceIndexerProcessor = $productPriceIndexerProcessor;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 8
0
 /**
  * @param Context $context
  * @param Builder $productBuilder
  * @param Composite $productCompositeHelper
  */
 public function __construct(Context $context, Builder $productBuilder, Composite $productCompositeHelper)
 {
     $this->productCompositeHelper = $productCompositeHelper;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 9
0
 /**
  * Constructor alert stock grid
  *
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, LayoutFactory $resultLayoutFactory)
 {
     $this->resultLayoutFactory = $resultLayoutFactory;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 10
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Catalog\Model\Product\Copier $productCopier
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Catalog\Model\Product\Copier $productCopier, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     $this->productCopier = $productCopier;
     parent::__construct($context, $productBuilder);
     $this->resultRedirectFactory = $resultRedirectFactory;
 }
Ejemplo n.º 11
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter
  * @param \Magento\Catalog\Model\Product\Validator $productValidator
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter, \Magento\Catalog\Model\Product\Validator $productValidator)
 {
     $this->_dateFilter = $dateFilter;
     $this->productValidator = $productValidator;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 12
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Framework\Registry $registry, \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory)
 {
     $this->registry = $registry;
     parent::__construct($context, $productBuilder);
     $this->resultLayoutFactory = $resultLayoutFactory;
 }
Ejemplo n.º 13
0
 /**
  * @param Action\Context $context
  * @param Product\Builder $productBuilder
  * @param Product\Initialization\Helper $initializationHelper
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, Product\Initialization\Helper $initializationHelper)
 {
     $this->initializationHelper = $initializationHelper;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 14
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     $this->_productPriceIndexerProcessor = $productPriceIndexerProcessor;
     parent::__construct($context, $productBuilder);
     $this->resultRedirectFactory = $resultRedirectFactory;
 }
Ejemplo n.º 15
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder
  * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory
  * @param \Magento\Framework\View\LayoutFactory $layoutFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory, \Magento\Framework\View\LayoutFactory $layoutFactory)
 {
     parent::__construct($context, $productBuilder);
     $this->resultRawFactory = $resultRawFactory;
     $this->layoutFactory = $layoutFactory;
 }
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder
  * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
  * @param CollectionFactory $attributeCollectionFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory, CollectionFactory $attributeCollectionFactory)
 {
     parent::__construct($context, $productBuilder);
     $this->resultJsonFactory = $resultJsonFactory;
     $this->attributeCollectionFactory = $attributeCollectionFactory;
 }
Ejemplo n.º 17
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param \Magento\Catalog\Model\Product\Copier $productCopier
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, \Magento\Catalog\Model\Product\Copier $productCopier)
 {
     $this->productCopier = $productCopier;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 18
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     parent::__construct($context, $productBuilder);
     $this->resultRedirectFactory = $resultRedirectFactory;
 }
Ejemplo n.º 19
0
 /**
  * @param Action\Context $context
  * @param Builder $productBuilder
  * @param Initialization\StockDataFilter $stockFilter
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, Product\Builder $productBuilder, Initialization\StockDataFilter $stockFilter)
 {
     $this->stockFilter;
     parent::__construct($context, $productBuilder);
 }
Ejemplo n.º 20
0
 /**
  * @param Context $context
  * @param Builder $productBuilder
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(Context $context, Builder $productBuilder, Filter $filter, CollectionFactory $collectionFactory)
 {
     $this->filter = $filter;
     $this->collectionFactory = $collectionFactory;
     parent::__construct($context, $productBuilder);
 }