PHP Class Smile\ElasticsuiteVirtualCategory\Model\Category\Attribute\Backend\VirtualRule

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( Smile\ElasticsuiteCatalogRule\Model\RuleFactory $ruleFactory ) Constructor.
afterLoad ( $object ) {@inheritDoc}
beforeSave ( $object ) {@inheritDoc}

Private Methods

Method Description
getAttributeCode ( ) : string Get current attribute code.

Method Details

__construct() public method

Constructor.
public __construct ( Smile\ElasticsuiteCatalogRule\Model\RuleFactory $ruleFactory )
$ruleFactory Smile\ElasticsuiteCatalogRule\Model\RuleFactory Search rule factory.

afterLoad() public method

{@inheritDoc}
public afterLoad ( $object )

beforeSave() public method

{@inheritDoc}
public beforeSave ( $object )