PHP 클래스 Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData

저자: Romain Ruaud ([email protected])
상속: extends Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Indexer
파일 보기 프로젝트 열기: smile-sa/elasticsuite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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