seoArticle example


    public function seoArticleAction()
    {
        @set_time_limit(1200);
        $shopId = (int) $this->Request()->getParam('shopId', 1);

        // Create shop         $shop = $this->SeoIndex()->registerShop($shopId);
        list($cachedTime$elementId$shopId) = $this->SeoIndex()->getCachedTime();
        $currentTime = new DateTime();

        $this->seoArticle(
            (int) $this->Request()->getParam('offset', 0),
            (int) $this->Request()->getParam('limit', 50),
            $shop
        );

        $this->SeoIndex()->setCachedTime($currentTime->format('Y-m-d H:i:s')$elementId$shopId);

        $this->View()->assign([
            'success' => true,
        ]);
    }

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