PHP Класс Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData

Автор: Romain Ruaud ([email protected])
Наследование: extends Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Indexer
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$indexedAttributesConditions array

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
getEntityTypeId ( ) : string Get Entity Type Id.

Описание методов

__construct() публичный Метод

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() публичный Метод

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).
Результат Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection

getAttributesRawData() публичный Метод

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.
Результат array

getEntityTypeId() защищенный Метод

Get Entity Type Id.
protected getEntityTypeId ( ) : string
Результат string

Описание свойств

$indexedAttributesConditions защищенное свойство

protected array $indexedAttributesConditions
Результат array