41 \
Magento\Framework\Event\ManagerInterface $eventManager,
45 $this->_eventManager = $eventManager;
56 $this->
_init(
'catalog_product_entity',
'entity_id');
72 if (
$attribute->getBackendType() ==
'varchar') {
74 $condition = [
'in_set' =>
$value];
77 $condition = [
'in' =>
$value];
84 if (in_array(
$attribute->getBackendType(), [
'varchar',
'text',
'static'])) {
85 $condition = [
'like' =>
$value];
elseif(isset( $params[ 'redirect_parent']))
_init($mainTable, $idFieldName)
prepareCondition($attribute, $value)
__construct(\Magento\Framework\Model\ResourceModel\Db\Context $context, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Event\ManagerInterface $eventManager, $connectionName=null)