PHP Class Smile\ElasticsuiteCatalog\Block\Navigation\Renderer\AbstractRenderer

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\Framework\View\Element\Template, implements Magento\LayeredNavigation\Block\Navigation\FilterRendererInterface
Exibir arquivo Open project: smile-sa/elasticsuite Class Usage Examples

Public Methods

Method Description
getFilter ( ) : Magento\Catalog\Model\Layer\Filter\FilterInterface
render ( Magento\Catalog\Model\Layer\Filter\FilterInterface $filter ) {@inheritDoc}

Protected Methods

Method Description
canRenderFilter ( ) : boolean Check if the current block can render a filter (previously set through ::setFilter).

Method Details

canRenderFilter() abstract protected method

Check if the current block can render a filter (previously set through ::setFilter).
abstract protected canRenderFilter ( ) : boolean
return boolean

getFilter() public method

public getFilter ( ) : Magento\Catalog\Model\Layer\Filter\FilterInterface
return Magento\Catalog\Model\Layer\Filter\FilterInterface

render() public method

{@inheritDoc}
public render ( Magento\Catalog\Model\Layer\Filter\FilterInterface $filter )
$filter Magento\Catalog\Model\Layer\Filter\FilterInterface