Beispiel #1
0
 public function __construct(\Ess\M2ePro\Block\Adminhtml\Magento\Context\Template $context, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\Backend\Model\Auth\Session $authSession, array $data = [])
 {
     $this->helperFactory = $context->getHelperFactory();
     $this->modelFactory = $context->getModelFactory();
     $this->activeRecordFactory = $context->getActiveRecordFactory();
     $this->parentFactory = $context->getParentFactory();
     $this->css = $context->getCss();
     $this->jsPhp = $context->getJsPhp();
     $this->js = $context->getJs();
     $this->jsTranslator = $context->getJsTranslator();
     $this->jsUrl = $context->getJsUrl();
     parent::__construct($context, $jsonEncoder, $authSession, $data);
 }
 public function __construct(\Ess\M2ePro\Block\Adminhtml\Magento\Context\Template $context, array $data = [])
 {
     $this->helperFactory = $context->getHelperFactory();
     $this->modelFactory = $context->getModelFactory();
     $this->activeRecordFactory = $context->getActiveRecordFactory();
     $this->parentFactory = $context->getParentFactory();
     $this->css = $context->getCss();
     $this->jsPhp = $context->getJsPhp();
     $this->js = $context->getJs();
     $this->jsTranslator = $context->getJsTranslator();
     $this->jsUrl = $context->getJsUrl();
     parent::__construct($context, $data);
 }
 public function __construct(\Ess\M2ePro\Block\Adminhtml\Magento\Context\Template $blockContext, \Magento\Backend\Block\Template\Context $context, \Magento\Catalog\Model\ResourceModel\Category\Tree $categoryTree, \Magento\Framework\Registry $registry, \Magento\Catalog\Model\CategoryFactory $categoryFactory, array $data = [])
 {
     $this->helperFactory = $blockContext->getHelperFactory();
     $this->modelFactory = $blockContext->getModelFactory();
     $this->activeRecordFactory = $blockContext->getActiveRecordFactory();
     $this->parentFactory = $blockContext->getParentFactory();
     $this->css = $blockContext->getCss();
     $this->jsPhp = $blockContext->getJsPhp();
     $this->js = $blockContext->getJs();
     $this->jsTranslator = $blockContext->getJsTranslator();
     $this->jsUrl = $blockContext->getJsUrl();
     parent::__construct($context, $categoryTree, $registry, $categoryFactory, $data);
 }