PHP Class Smile\ElasticsuiteCatalog\Model\Layer\Filter\Item\Attribute

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\Catalog\Model\Layer\Filter\Item
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
getUrl ( ) {@inheritDoc}
toArray ( array $keys = [] ) Append url and is_selected computed fields to the result array.

Private Methods

Method Description
getApplyQueryStringParams ( ) : array Get query string params used to apply the filter.
getApplyValue ( ) : string | array Return the value used to apply the filter.
rewriteBaseUrl ( array $qsParams ) : null | string Create the URL used to apply the filter from a existing URL.

Method Details

getUrl() public method

{@inheritDoc}
public getUrl ( )

toArray() public method

{@inheritDoc}
public toArray ( array $keys = [] )
$keys array