PHP Class Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData

Author: Romain Ruaud ([email protected])
Inheritance: extends Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Indexer
Afficher le fichier Open project: smile-sa/elasticsuite Class Usage Examples

Protected Properties

Свойство Type Description
$indexedAttributesConditions array

Méthodes publiques

Méthode Description
__construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\EntityManager\MetadataPool $metadataPool, string $entityType = null ) AbstractAttributeData constructor.
addIndexedFilterToAttributeCollection ( Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $attributeCollection ) : Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection Allow to filter an attribute collection on attributes that are indexed into the search engine.
getAttributesRawData ( integer $storeId, array $entityIds, string $tableName, array $attributeIds ) : array Load attribute data for a list of entity ids.

Méthodes protégées

Méthode Description
getEntityTypeId ( ) : string Get Entity Type Id.

Method Details

__construct() public méthode

AbstractAttributeData constructor.
public __construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\EntityManager\MetadataPool $metadataPool, string $entityType = null )
$resource Magento\Framework\App\ResourceConnection Resource Connection
$storeManager Magento\Store\Model\StoreManagerInterface Store Manager
$metadataPool Magento\Framework\EntityManager\MetadataPool Entity Metadata Pool
$entityType string Entity Type

addIndexedFilterToAttributeCollection() public méthode

Allow to filter an attribute collection on attributes that are indexed into the search engine.
public addIndexedFilterToAttributeCollection ( Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $attributeCollection ) : Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection
$attributeCollection Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection Attribute collection (not loaded).
Résultat Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection

getAttributesRawData() public méthode

Load attribute data for a list of entity ids.
public getAttributesRawData ( integer $storeId, array $entityIds, string $tableName, array $attributeIds ) : array
$storeId integer Store id.
$entityIds array Entity ids.
$tableName string Attribute table.
$attributeIds array Attribute ids to get loaded.
Résultat array

getEntityTypeId() protected méthode

Get Entity Type Id.
protected getEntityTypeId ( ) : string
Résultat string

Property Details

$indexedAttributesConditions protected_oe property

protected array $indexedAttributesConditions
Résultat array