PHP Класс Smile\ElasticsuiteCore\Controller\Adminhtml\Search\Request\RelevanceConfig\AbstractConfig

Автор: Romain Ruaud ([email protected])
Наследование: extends Magento\Backend\App\AbstractAction
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Описание методов

__construct() публичный Метод

Class constructor
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

_isAllowed() защищенный Метод

Check is allow modify system configuration
protected _isAllowed ( ) : boolean
Результат boolean

dispatch() публичный Метод

Check if current section is found and is allowed
public dispatch ( Magento\Framework\App\RequestInterface $request ) : Magento\Framework\App\ResponseInterface
$request Magento\Framework\App\RequestInterface The current request
Результат Magento\Framework\App\ResponseInterface

Описание свойств

$configStructure защищенное свойство

protected Structure,Magento\Config\Model\Config $configStructure
Результат Magento\Config\Model\Config\Structure

$sectionChecker защищенное свойство

protected ConfigSectionChecker,Magento\Config\Controller\Adminhtml\System $sectionChecker
Результат Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker