PHP Class Smile\ElasticsuiteCore\Block\Adminhtml\Search\Request\RelevanceConfig\Edit

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Backend\Block\Widget
显示文件 Open project: smile-sa/elasticsuite

Protected Properties

Property Type Description
$_template string Block template File
$configStructure Magento\Config\Model\Config\Structure Configuration structure
$formBlockName string Form block class name

Public Methods

Method Description
__construct ( Magento\Backend\Block\Template\Context $context, Magento\Config\Model\Config\Structure $configStructure, array $data = [] ) Class constructor
getSaveButtonHtml ( ) : string Retrieve rendered save buttons
getSaveUrl ( ) : string Retrieve config save url

Protected Methods

Method Description
_prepareLayout ( ) : Magento\Framework\View\Element\AbstractBlock Prepare layout object

Method Details

__construct() public method

Class constructor
public __construct ( Magento\Backend\Block\Template\Context $context, Magento\Config\Model\Config\Structure $configStructure, array $data = [] )
$context Magento\Backend\Block\Template\Context Application context
$configStructure Magento\Config\Model\Config\Structure Configuration Structure
$data array The data

_prepareLayout() protected method

Prepare layout object
protected _prepareLayout ( ) : Magento\Framework\View\Element\AbstractBlock
return Magento\Framework\View\Element\AbstractBlock

getSaveButtonHtml() public method

Retrieve rendered save buttons
public getSaveButtonHtml ( ) : string
return string

getSaveUrl() public method

Retrieve config save url
public getSaveUrl ( ) : string
return string

Property Details

$_template protected_oe property

Block template File
protected string $_template
return string

$configStructure protected_oe property

Configuration structure
protected Structure,Magento\Config\Model\Config $configStructure
return Magento\Config\Model\Config\Structure

$formBlockName protected_oe property

Form block class name
protected string $formBlockName
return string