fetchCategoryListing example

if ($category instanceof Category) {
            $productStream = $category->getProductStream();

            if ($productStream) {
                $result = $this->fetchStreamListing($categoryId$productStream->getId());
                $this->setSearchResultResponse($result);

                return;
            }
        }

        $result = $this->fetchCategoryListing();
        $this->setSearchResultResponse($result);
    }

    /** * @return void */
    public function getCategoryAction()
    {
        $categoryId = (int) $this->Request()->getParam('categoryId');

        $category = $this->getCategoryById($categoryId);

        
Home | Imprint | This part of the site doesn't use cookies.