PHP Класс Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\AbstractIndexer

Автор: Aurelien FOUCRET ([email protected])
Показать файл Открыть проект

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

Свойство Тип Описание
$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