refreshSeoIndex example

return;
        }

        /** * If 'live' mode is configured, pass the request to the SeoIndex component and handle it as in SW < 4.1.0. */
        $refreshStrategy = $this->Application()->Config()->get('seoRefreshStrategy');

        if ($refreshStrategy !== self::STRATEGY_LIVE) {
            return;
        }
        $this->SeoIndex()->refreshSeoIndex();
    }

    /** * Event listener function of the Enlight_Controller_Dispatcher_ControllerPath_Backend_Seo * event. This event is fired when shopware trying to access the plugin SEO controller. * * @return string */
    public function getSeoBackendController(Enlight_Event_EventArgs $arguments)
    {
        return $this->Path() . 'Controllers/Seo.php';
    }
Home | Imprint | This part of the site doesn't use cookies.