PHP Class Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\AbstractIndexer

Author: Aurelien FOUCRET ([email protected])
Afficher le fichier Open project: smile-sa/elasticsuite

Protected Properties

Свойство Type Description
$connection Magento\Framework\DB\Adapter\AdapterInterface
$resource Magento\Framework\App\ResourceConnection
$storeManager Magento\Store\Model\StoreManagerInterface

Méthodes publiques

Méthode Description
__construct ( Magento\Framework\App\ResourceConnection $resource, Magento\Store\Model\StoreManagerInterface $storeManager ) Constructor.

Méthodes protégées

Méthode Description
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.

Method Details

__construct() public méthode

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() protected méthode

Return database connection.
protected getConnection ( ) : Magento\Framework\DB\Adapter\AdapterInterface
Résultat Magento\Framework\DB\Adapter\AdapterInterface

getRootCategoryId() protected méthode

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.
Résultat integer

getStore() protected méthode

Get store by id.
protected getStore ( integer $storeId ) : Magento\Store\Api\Data\StoreInterface
$storeId integer Store id.
Résultat Magento\Store\Api\Data\StoreInterface

getTable() protected méthode

Get table name using the adapter.
protected getTable ( string $tableName ) : string
$tableName string Table name.
Résultat string

Property Details

$connection protected_oe property

protected AdapterInterface,Magento\Framework\DB\Adapter $connection
Résultat Magento\Framework\DB\Adapter\AdapterInterface

$resource protected_oe property

protected ResourceConnection,Magento\Framework\App $resource
Résultat Magento\Framework\App\ResourceConnection

$storeManager protected_oe property

protected StoreManagerInterface,Magento\Store\Model $storeManager
Résultat Magento\Store\Model\StoreManagerInterface