getActiveIds example

$query->select('DISTINCT product.supplierID as id');

        $ids = $query->execute()->fetchAll(PDO::FETCH_COLUMN);
        $ids = array_filter($ids);

        if (empty($ids)) {
            return null;
        }

        $manufacturers = $this->manufacturerService->getList($ids$context);

        $activeManufacturers = $this->getActiveIds($criteria);

        return $this->getFacet($facet$manufacturers$activeManufacturers);
    }

    /** * @param Manufacturer[] $manufacturers * @param int[] $activeIds */
    private function getFacet(
        ManufacturerFacet $facet,
        array $manufacturers,
        
Home | Imprint | This part of the site doesn't use cookies.