PHP Class Smile\ElasticsuiteCore\Model\ResourceModel\Search\Request\RelevanceConfig\Data\Collection\Scoped

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
Show file Open project: smile-sa/elasticsuite

Protected Properties

Property Type Description
$scope string Scope to filter by
$scopeCode string Scope code to filter by

Public Methods

Method Description
__construct ( Magento\Framework\Data\Collection\EntityFactory $entityFactory, Psr\Log\LoggerInterface $logger, Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, Magento\Framework\Event\ManagerInterface $eventManager, Data $resource, string $scope, Magento\Framework\DB\Adapter\AdapterInterface $connection = null, mixed $scopeCode = null )

Protected Methods

Method Description
_initSelect ( ) Initialize select

Method Details

__construct() public method

public __construct ( Magento\Framework\Data\Collection\EntityFactory $entityFactory, Psr\Log\LoggerInterface $logger, Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, Magento\Framework\Event\ManagerInterface $eventManager, Data $resource, string $scope, Magento\Framework\DB\Adapter\AdapterInterface $connection = null, mixed $scopeCode = null )
$entityFactory Magento\Framework\Data\Collection\EntityFactory The entity factory
$logger Psr\Log\LoggerInterface The internal logger
$fetchStrategy Magento\Framework\Data\Collection\Db\FetchStrategyInterface The fetch strategy
$eventManager Magento\Framework\Event\ManagerInterface The event manager
$resource Smile\ElasticsuiteCore\Model\ResourceModel\Search\Request\RelevanceConfig\Data The resource model being used
$scope string The configuration scope
$connection Magento\Framework\DB\Adapter\AdapterInterface Database Connection
$scopeCode mixed The scope code

_initSelect() protected method

Initialize select
protected _initSelect ( )

Property Details

$scope protected property

Scope to filter by
protected string $scope
return string

$scopeCode protected property

Scope code to filter by
protected string $scopeCode
return string