Méthode | Description | |
---|---|---|
__construct ( Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollectionFactory, Magento\Store\Model\StoreManagerInterface $storeManager, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager, |
Constructor. | |
getAttributeCollection ( ) : Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection | Retrieve attribute collection prefiltered with only attribute usable in rules. | |
getField ( string $attributeName ) : Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface | Retrieve the mapping field for the rule attribute. |
Méthode | Description | |
---|---|---|
getMapping ( ) : Smile\ElasticsuiteCore\Api\Index\MappingInterface | Retrieve the search engine mapping. |
public __construct ( Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollectionFactory, Magento\Store\Model\StoreManagerInterface $storeManager, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager, |
||
$attributeCollectionFactory | Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory | Product attribute collection factory. |
$storeManager | Magento\Store\Model\StoreManagerInterface | Store manager. |
$indexManager | Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface | Search engine index manager. |
$mappingHelper | Mapping helper. | |
$indexName | string | Search engine index name. |
$typeName | string | Search engine type name. |
public getAttributeCollection ( ) : Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection | ||
Résultat | Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection |