PHP Class Smile\ElasticsuiteCore\Controller\Adminhtml\Search\Request\RelevanceConfig\AbstractScopeConfig

Author: Romain Ruaud ([email protected])
Inheritance: extends AbstractConfig
Show file Open project: smile-sa/elasticsuite Class Usage Examples

Protected Properties

Property Type Description
$backendConfig Magento\Config\Model\Config

Public Methods

Method Description
__construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker, Magento\Config\Model\Config $backendConfig ) Class constructor

Protected Methods

Method Description
isSectionAllowed ( string $sectionId ) : boolean Sets scope for backend config

Method Details

__construct() public method

Class constructor
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker, Magento\Config\Model\Config $backendConfig )
$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
$backendConfig Magento\Config\Model\Config Configuration model

isSectionAllowed() protected method

Sets scope for backend config
protected isSectionAllowed ( string $sectionId ) : boolean
$sectionId string The section being viewed/edited/saved
return boolean

Property Details

$backendConfig protected property

protected Config,Magento\Config\Model $backendConfig
return Magento\Config\Model\Config