Beispiel #1
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory
  * @param \Magento\Backend\Helper\Dashboard\Data $dashboardData
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory, \Magento\Backend\Helper\Dashboard\Data $dashboardData, array $data = [])
 {
     $this->_dashboardData = $dashboardData;
     parent::__construct($context, $collectionFactory, $data);
 }
Beispiel #2
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Reports\Model\Resource\Order\CollectionFactory $collectionFactory
  * @param \Magento\Backend\Helper\Dashboard\Data $dashboardData
  * @param \Magento\Framework\Locale\ListsInterface $localeLists
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Reports\Model\Resource\Order\CollectionFactory $collectionFactory, \Magento\Backend\Helper\Dashboard\Data $dashboardData, \Magento\Framework\Locale\ListsInterface $localeLists, array $data = array())
 {
     $this->_dashboardData = $dashboardData;
     $this->_localeLists = $localeLists;
     parent::__construct($context, $collectionFactory, $data);
 }