PHP Class Smile\ElasticsuiteThesaurus\Block\Adminhtml\Thesaurus\Grid

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Backend\Block\Widget\Grid
Show file Open project: smile-sa/elasticsuite

Protected Methods

Method Description
_preparePage ( ) Append custom filter for Store Id
filterStoreCondition ( Magento\Framework\Data\Collection $collection, Magento\Backend\Block\Widget\Grid\Column $column ) Apply store filter
filterTermsCondition ( Magento\Framework\Data\Collection $collection, Magento\Backend\Block\Widget\Grid\Column $column ) Apply term filter

Method Details

_preparePage() protected method

Append custom filter for Store Id
protected _preparePage ( )

filterStoreCondition() protected method

Apply store filter
protected filterStoreCondition ( Magento\Framework\Data\Collection $collection, Magento\Backend\Block\Widget\Grid\Column $column )
$collection Magento\Framework\Data\Collection The collection
$column Magento\Backend\Block\Widget\Grid\Column Columns to filter

filterTermsCondition() protected method

Apply term filter
protected filterTermsCondition ( Magento\Framework\Data\Collection $collection, Magento\Backend\Block\Widget\Grid\Column $column )
$collection Magento\Framework\Data\Collection The collection
$column Magento\Backend\Block\Widget\Grid\Column Columns to filter