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

Author: Romain Ruaud ([email protected])
Inheritance: extends AbstractConfig
Afficher le fichier Open project: smile-sa/elasticsuite

Protected Properties

Свойство Type Description
$cache Magento\Framework\Cache\FrontendInterface
$configFactory Magento\Config\Model\Config\Factory Backend Config Model Factory
$string Magento\Framework\Stdlib\StringUtils

Méthodes publiques

Méthode Description
__construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker, Factory $configFactory, Magento\Framework\Cache\FrontendInterface $cache, Magento\Framework\Stdlib\StringUtils $string ) Class constructor
execute ( ) : Magento\Backend\Model\View\Result\Redirect Save configuration

Méthodes protégées

Méthode Description
getGroupsForSave ( ) : array | null
processNestedGroups ( mixed $group ) : array Process nested groups

Method Details

__construct() public méthode

Class constructor
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker, Factory $configFactory, Magento\Framework\Cache\FrontendInterface $cache, Magento\Framework\Stdlib\StringUtils $string )
$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
$configFactory Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Factory Configuration Factory
$cache Magento\Framework\Cache\FrontendInterface Cache instance
$string Magento\Framework\Stdlib\StringUtils String helper

execute() public méthode

Save configuration
public execute ( ) : Magento\Backend\Model\View\Result\Redirect
Résultat Magento\Backend\Model\View\Result\Redirect

getGroupsForSave() protected méthode

protected getGroupsForSave ( ) : array | null
Résultat array | null

processNestedGroups() protected méthode

Process nested groups
protected processNestedGroups ( mixed $group ) : array
$group mixed The configuration groups
Résultat array

Property Details

$cache protected_oe property

protected FrontendInterface,Magento\Framework\Cache $cache
Résultat Magento\Framework\Cache\FrontendInterface

$configFactory protected_oe property

Backend Config Model Factory
protected Factory,Magento\Config\Model\Config $configFactory
Résultat Magento\Config\Model\Config\Factory

$string protected_oe property

protected StringUtils,Magento\Framework\Stdlib $string
Résultat Magento\Framework\Stdlib\StringUtils