Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Shipping.php
Go to the documentation of this file.
1 <?php
8 
10 
12 {
18  public function execute()
19  {
20  $this->_showLastExecutionTime(Flag::REPORT_SHIPPING_FLAG_CODE, 'shipping');
21 
22  $this->_initAction()->_setActiveMenu(
23  'Magento_Reports::report_salesroot_shipping'
24  )->_addBreadcrumb(
25  __('Shipping'),
26  __('Shipping')
27  );
28  $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Shipping Report'));
29 
30  $gridBlock = $this->_view->getLayout()->getBlock('adminhtml_sales_shipping.grid');
31  $filterFormBlock = $this->_view->getLayout()->getBlock('grid.filter.form');
32 
33  $this->_initReportAction([$gridBlock, $filterFormBlock]);
34 
35  $this->_view->renderLayout();
36  }
37 }
__()
Definition: __.php:13