33 $this->_fileFactory = $fileFactory;
34 parent::__construct($context);
44 $this->_view->loadLayout();
57 switch ($this->
getRequest()->getActionName()) {
59 return $this->_authorization->isAllowed(
null);
62 return $this->_authorization->isAllowed(
'Magento_Reports::product');
65 return $this->_authorization->isAllowed(
'Magento_Reports::abandoned');
68 return $this->_authorization->isAllowed(
'Magento_Reports::shopcart');
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\App\Response\Http\FileFactory $fileFactory)
_addBreadcrumb($label, $title, $link=null)