getAdvancedMenu example


        $config = $this->Config();

        if (!$config->get('show')) {
            return;
        }

        $view = $args->getSubject()->View();
        $parent = (int) $this->get('shop')->get('parentID');
        $categoryId = (int) $args->getRequest()->getParam('sCategory', $parent);

        $menu = $this->getAdvancedMenu($parent$categoryId(int) $config->get('levels'));

        $view->assign('sAdvancedMenu', $menu);
        $view->assign('columnAmount', $config->get('columnAmount'));

        $view->assign('hoverDelay', $config->get('hoverDelay'));

        $view->addTemplateDir($this->Path() . 'Views');
    }

    /** * Returns the complete menu with category path. * * @param int $category * @param int $activeCategoryId * @param int $depth * * @return array<array<string, mixed>> */
Home | Imprint | This part of the site doesn't use cookies.