Exemplo n.º 1
0
 /**
  * @param \Magento\Backend\Block\Context $context
  * @param \Magento\Framework\DB\Helper $resourceHelper
  * @param \Magento\Framework\Math\Random $mathRandom
  * @param \Magento\Framework\Locale\ResolverInterface $localeResolver
  * @param DateTimeFormatterInterface $dateTimeFormatter
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Context $context, \Magento\Framework\DB\Helper $resourceHelper, \Magento\Framework\Math\Random $mathRandom, \Magento\Framework\Locale\ResolverInterface $localeResolver, DateTimeFormatterInterface $dateTimeFormatter, array $data = [])
 {
     $this->mathRandom = $mathRandom;
     $this->localeResolver = $localeResolver;
     parent::__construct($context, $resourceHelper, $data);
     $this->dateTimeFormatter = $dateTimeFormatter;
 }
Exemplo n.º 2
0
 /**
  * @param \Magento\Backend\Block\Context $context
  * @param \Magento\Framework\DB\Helper $resourceHelper
  * @param \Magento\Directory\Model\Currency $currencyModel
  * @param \Magento\Directory\Model\Currency\DefaultLocator $currencyLocator
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Context $context, \Magento\Framework\DB\Helper $resourceHelper, \Magento\Directory\Model\Currency $currencyModel, \Magento\Directory\Model\Currency\DefaultLocator $currencyLocator, array $data = [])
 {
     parent::__construct($context, $resourceHelper, $data);
     $this->_currencyModel = $currencyModel;
     $this->_currencyLocator = $currencyLocator;
 }
Exemplo n.º 3
0
 public function __construct(\Ess\M2ePro\Helper\Factory $helperFactory, \Ess\M2ePro\Model\Factory $modelFactory, \Magento\Backend\Block\Context $context, \Magento\Framework\DB\Helper $resourceHelper, array $data = [])
 {
     $this->helperFactory = $helperFactory;
     $this->modelFactory = $modelFactory;
     parent::__construct($context, $resourceHelper, $data);
 }
Exemplo n.º 4
0
 /**
  * @param \Magento\Backend\Block\Context $context
  * @param \Magento\Framework\DB\Helper $resourceHelper
  * @param \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Context $context, \Magento\Framework\DB\Helper $resourceHelper, \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory, array $data = [])
 {
     $this->_labelFactory = $labelFactory;
     parent::__construct($context, $resourceHelper, $data);
 }
Exemplo n.º 5
0
 /**
  * @param \Magento\Backend\Block\Context $context
  * @param \Magento\Framework\DB\Helper $resourceHelper
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Context $context, \Magento\Framework\DB\Helper $resourceHelper, \Magento\Store\Model\System\Store $systemStore, array $data = array())
 {
     $this->_systemStore = $systemStore;
     parent::__construct($context, $resourceHelper, $data);
 }