프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$configStructure | Magento\Config\Model\Config\Structure | ||
$sectionChecker | Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker |
메소드 | 설명 | |
---|---|---|
__construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker ) | Class constructor | |
dispatch ( Magento\Framework\App\RequestInterface $request ) : Magento\Framework\App\ResponseInterface | Check if current section is found and is allowed |
메소드 | 설명 | |
---|---|---|
_isAllowed ( ) : boolean | Check is allow modify system configuration |
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker ) | ||
$context | Magento\Backend\App\Action\Context | Action context |
$configStructure | Magento\Config\Model\Config\Structure | Relevance configuration Structure |
$sectionChecker | Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker | Configuration Section Checker |
protected _isAllowed ( ) : boolean | ||
리턴 | boolean |
public dispatch ( Magento\Framework\App\RequestInterface $request ) : Magento\Framework\App\ResponseInterface | ||
$request | Magento\Framework\App\RequestInterface | The current request |
리턴 | Magento\Framework\App\ResponseInterface |
protected Structure,Magento\Config\Model\Config $configStructure | ||
리턴 | Magento\Config\Model\Config\Structure |