Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Tax Class Reference
Inheritance diagram for Tax:
Sales HttpGetActionInterface AbstractReport ActionInterface Action AbstractAction Action AbstractAction ActionInterface

Public Member Functions

 execute ()
 
- Public Member Functions inherited from Sales
 _initAction ()
 
- Public Member Functions inherited from AbstractReport
 __construct (\Magento\Backend\App\Action\Context $context, \Magento\Framework\App\Response\Http\FileFactory $fileFactory, \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter, TimezoneInterface $timezone, BackendHelper $backendHelperData=null)
 
 _initAction ()
 
 _initReportAction ($blocks)
 
- Public Member Functions inherited from AbstractAction
 __construct (Action\Context $context)
 
 dispatch (\Magento\Framework\App\RequestInterface $request)
 
 _processUrlKeys ()
 
 getUrl ($route='', $params=[])
 
- Public Member Functions inherited from Action
 __construct (Context $context)
 
 dispatch (RequestInterface $request)
 
 getActionFlag ()
 
- Public Member Functions inherited from AbstractAction
 __construct (Context $context)
 
 dispatch (RequestInterface $request)
 
 getRequest ()
 
 getResponse ()
 

Additional Inherited Members

- Data Fields inherited from AbstractReport
const ADMIN_RESOURCE = 'Magento_Reports::report'
 
- Data Fields inherited from AbstractAction
const FLAG_IS_URLS_CHECKED = 'check_url_settings'
 
const SESSION_NAMESPACE = 'adminhtml'
 
const ADMIN_RESOURCE = 'Magento_Backend::admin'
 
- Data Fields inherited from ActionInterface
const FLAG_NO_DISPATCH = 'no-dispatch'
 
const FLAG_NO_POST_DISPATCH = 'no-postDispatch'
 
const FLAG_NO_DISPATCH_BLOCK_EVENT = 'no-beforeGenerateLayoutBlocksDispatch'
 
const PARAM_NAME_BASE64_URL = 'r64'
 
const PARAM_NAME_URL_ENCODED = 'uenc'
 
- Protected Member Functions inherited from Sales
 _isAllowed ()
 
- Protected Member Functions inherited from AbstractReport
 _getSession ()
 
 _showLastExecutionTime ($flagCode, $refreshCode)
 
- Protected Member Functions inherited from AbstractAction
 _isAllowed ()
 
 _getSession ()
 
 getMessageManager ()
 
 _addBreadcrumb ($label, $title, $link=null)
 
 _addContent (\Magento\Framework\View\Element\AbstractBlock $block)
 
 _addLeft (\Magento\Framework\View\Element\AbstractBlock $block)
 
 _addJs (\Magento\Framework\View\Element\AbstractBlock $block)
 
 _isUrlChecked ()
 
 _processLocaleSettings ()
 
 _redirect ($path, $arguments=[])
 
 _forward ($action, $controller=null, $module=null, array $params=null)
 
 _validateSecretKey ()
 
- Protected Member Functions inherited from Action
 _forward ($action, $controller=null, $module=null, array $params=null)
 
 _redirect ($path, $arguments=[])
 
- Protected Attributes inherited from AbstractReport
 $_fileFactory
 
 $_dateFilter
 
 $timezone
 
 $_adminSession = null
 
- Protected Attributes inherited from AbstractAction
 $_publicActions = []
 
 $_sessionNamespace = self::SESSION_NAMESPACE
 
 $_helper
 
 $_session
 
 $_authorization
 
 $_auth
 
 $_backendUrl
 
 $_localeResolver
 
 $_canUseBaseUrl
 
 $_formKeyValidator
 
- Protected Attributes inherited from Action
 $_objectManager
 
 $_sessionNamespace
 
 $_eventManager
 
 $_actionFlag
 
 $_redirect
 
 $_view
 
 $_url
 
 $messageManager
 
- Protected Attributes inherited from AbstractAction
 $_request
 
 $_response
 
 $resultRedirectFactory
 
 $resultFactory
 

Detailed Description

Definition at line 12 of file Tax.php.

Member Function Documentation

◆ execute()

execute ( )

Tax report action

Returns
void

Implements ActionInterface.

Definition at line 19 of file Tax.php.

20  {
21  $this->_showLastExecutionTime(Flag::REPORT_TAX_FLAG_CODE, 'tax');
22 
23  $this->_initAction()->_setActiveMenu(
24  'Magento_Reports::report_salesroot_tax'
25  )->_addBreadcrumb(
26  __('Tax'),
27  __('Tax')
28  );
29  $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Tax Report'));
30 
31  $gridBlock = $this->_view->getLayout()->getBlock('adminhtml_sales_tax.grid');
32  $filterFormBlock = $this->_view->getLayout()->getBlock('grid.filter.form');
33 
34  $this->_initReportAction([$gridBlock, $filterFormBlock]);
35 
36  $this->_view->renderLayout();
37  }
__()
Definition: __.php:13

The documentation for this class was generated from the following file: