FOF30\Render\AkeebaStrapper::renderLinkbar_joomla PHP Méthode

    protected function renderLinkbar_joomla($view, $task)
    {
        // Prevent phpStorm from complaining
        if ($view) {
        }
        if ($task) {
        }
        $platform = $this->container->platform;
        // On command line don't do anything
        if ($platform->isCli()) {
            return;
        }
        // Do not render a submenu unless we are in the the admin area
        $toolbar = $this->container->toolbar;
        $renderFrontendSubmenu = $toolbar->getRenderFrontendSubmenu();
        if (!$platform->isBackend() && !$renderFrontendSubmenu) {
            return;
        }
        $this->renderLinkbarItems($toolbar);
    }