PHP 클래스 Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\AbstractIndexer

저자: Aurelien FOUCRET ([email protected])
파일 보기 프로젝트 열기: smile-sa/elasticsuite

보호된 프로퍼티들

프로퍼티 타입 설명
$connection Magento\Framework\DB\Adapter\AdapterInterface
$resource Magento\Framework\App\ResourceConnection
$storeManager Magento\Store\Model\StoreManagerInterface

공개 메소드들

메소드 설명
__construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager ) Constructor.

보호된 메소드들

메소드 설명
getConnection ( ) : Magento\Framework\DB\Adapter\AdapterInterface Return database connection.
getRootCategoryId ( Magento\Store\Api\Data\StoreInterface | integer | string $store ) : integer Retrieve store root category id.
getStore ( integer $storeId ) : Magento\Store\Api\Data\StoreInterface Get store by id.
getTable ( string $tableName ) : string Get table name using the adapter.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager )
$resource Magento\Framework\App\ResourceConnection Database adpater.
$storeManager Magento\Store\Model\StoreManagerInterface Store manager.

getConnection() 보호된 메소드

Return database connection.
protected getConnection ( ) : Magento\Framework\DB\Adapter\AdapterInterface
리턴 Magento\Framework\DB\Adapter\AdapterInterface

getRootCategoryId() 보호된 메소드

Retrieve store root category id.
protected getRootCategoryId ( Magento\Store\Api\Data\StoreInterface | integer | string $store ) : integer
$store Magento\Store\Api\Data\StoreInterface | integer | string Store id.
리턴 integer

getStore() 보호된 메소드

Get store by id.
protected getStore ( integer $storeId ) : Magento\Store\Api\Data\StoreInterface
$storeId integer Store id.
리턴 Magento\Store\Api\Data\StoreInterface

getTable() 보호된 메소드

Get table name using the adapter.
protected getTable ( string $tableName ) : string
$tableName string Table name.
리턴 string

프로퍼티 상세

$connection 보호되어 있는 프로퍼티

protected AdapterInterface,Magento\Framework\DB\Adapter $connection
리턴 Magento\Framework\DB\Adapter\AdapterInterface

$resource 보호되어 있는 프로퍼티

protected ResourceConnection,Magento\Framework\App $resource
리턴 Magento\Framework\App\ResourceConnection

$storeManager 보호되어 있는 프로퍼티

protected StoreManagerInterface,Magento\Store\Model $storeManager
리턴 Magento\Store\Model\StoreManagerInterface