|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __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 () | |
Public Member Functions inherited from ActionInterface | |
| execute () | |
Data Fields | |
| 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 | |
| _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 | |
| $_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 | |
Generic backend controller
@api @SuppressWarnings(PHPMD.NumberOfChildren) @SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 16 of file AbstractAction.php.
| __construct | ( | Action\Context | $context | ) |
| \Magento\Backend\App\Action\Context | $context |
Definition at line 90 of file AbstractAction.php.
|
protected |
| string | $label | |
| string | $title | |
| string | null | $link |
Definition at line 154 of file AbstractAction.php.
|
protected |
| \Magento\Framework\View\Element\AbstractBlock | $block |
Definition at line 164 of file AbstractAction.php.
|
protected |
| \Magento\Framework\View\Element\AbstractBlock | $block |
Definition at line 182 of file AbstractAction.php.
|
protected |
| \Magento\Framework\View\Element\AbstractBlock | $block |
Definition at line 173 of file AbstractAction.php.
|
protected |
Forward to action
@TODO MAGETWO-28356: Refactor controller actions to new ResultInterface
| string | $action | |
| string | null | $controller | |
| string | null | $module | |
| array | null | $params |
Definition at line 333 of file AbstractAction.php.
|
protected |
Retrieve adminhtml session model object
Definition at line 116 of file AbstractAction.php.
|
protected |
Definition at line 106 of file AbstractAction.php.
|
protected |
|
protected |
Set session locale, process force locale set through url params
Definition at line 294 of file AbstractAction.php.
| _processUrlKeys | ( | ) |
Check url keys. If non valid - redirect
Definition at line 255 of file AbstractAction.php.
|
protected |
Set redirect into response
@TODO MAGETWO-28356: Refactor controller actions to new ResultInterface
| string | $path | |
| array | $arguments |
Definition at line 316 of file AbstractAction.php.
|
protected |
Validate Secret Key
Definition at line 356 of file AbstractAction.php.
| dispatch | ( | \Magento\Framework\App\RequestInterface | $request | ) |
| \Magento\Framework\App\RequestInterface | $request |
Definition at line 206 of file AbstractAction.php.
|
protected |
Definition at line 124 of file AbstractAction.php.
| getUrl | ( | $route = '', |
|
$params = [] |
|||
| ) |
Generate url by route and parameters
| string | $route | |
| array | $params |
Definition at line 346 of file AbstractAction.php.
|
protected |
Definition at line 65 of file AbstractAction.php.
|
protected |
Definition at line 60 of file AbstractAction.php.
|
protected |
Definition at line 70 of file AbstractAction.php.
|
protected |
Definition at line 80 of file AbstractAction.php.
|
protected |
Definition at line 85 of file AbstractAction.php.
|
protected |
Definition at line 50 of file AbstractAction.php.
|
protected |
Definition at line 75 of file AbstractAction.php.
|
protected |
Definition at line 38 of file AbstractAction.php.
|
protected |
Definition at line 55 of file AbstractAction.php.
|
protected |
Definition at line 45 of file AbstractAction.php.
| const ADMIN_RESOURCE = 'Magento_Backend::admin' |
Authorization level of a basic admin session
Definition at line 31 of file AbstractAction.php.
| const FLAG_IS_URLS_CHECKED = 'check_url_settings' |
Name of "is URLs checked" flag
Definition at line 21 of file AbstractAction.php.
| const SESSION_NAMESPACE = 'adminhtml' |
Session namespace to refer in other places
Definition at line 26 of file AbstractAction.php.