/**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory
  * @param \Magento\Backend\Helper\Dashboard\Data $dashboardData
  * @param \Magento\Backend\Helper\Dashboard\Order $dataHelper
  * @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, \Magento\Backend\Helper\Dashboard\Order $dataHelper, array $data = [])
 {
     $this->_dataHelper = $dataHelper;
     parent::__construct($context, $collectionFactory, $dashboardData, $data);
 }
Exemple #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 \Magento\Backend\Helper\Dashboard\Order $dataHelper
  * @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, \Magento\Backend\Helper\Dashboard\Order $dataHelper, array $data = array())
 {
     $this->_dataHelper = $dataHelper;
     parent::__construct($context, $collectionFactory, $dashboardData, $localeLists, $data);
 }