Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Indexer\Fulltext\Action\Full::addIsVisibleInStoreFilter PHP Метод

addIsVisibleInStoreFilter() приватный Метод

Filter the select to append only categories that are childrens of the root category of current store.
private addIsVisibleInStoreFilter ( Zend_Db_Select $select, integer $storeId ) : Full
$select Zend_Db_Select Product select to be filtered.
$storeId integer Store Id
Результат Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Action\Full Self Reference
    private function addIsVisibleInStoreFilter($select, $storeId)
    {
        $rootCategoryId = $this->getRootCategoryId($storeId);
        $select->where('e.path LIKE ?', "1/{$rootCategoryId}%");
        return $this;
    }