source/Application/Controller/Admin/ListComponentAjax.php
public function resetArtSeoUrl($aArtIds, $aCatIds = null)
    {
        if (empty($aArtIds)) {
            return;
        }

        if (!is_array($aArtIds)) {
            $aArtIds = [$aArtIds];
        }

        $sShopId = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId();
        foreach ($aArtIds as $sArtId) {
            /** @var \OxidEsales\Eshop\Core\SeoEncoder $oSeoEncoder */
            \OxidEsales\Eshop\Core\Registry::getSeoEncoder()->markAsExpired($sArtId, $sShopId, 1, null, "oxtype='oxarticle'");
        }
    }
public function resetArtSeoUrl($aArtIds, $aCatIds = null)
    {
        if (empty($aArtIds)) {
            return;
        }

        if (!is_array($aArtIds)) {
            $aArtIds = [$aArtIds];
        }

        $sShopId = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId();
        foreach ($aArtIds as $sArtId) {
            /** @var \OxidEsales\Eshop\Core\SeoEncoder $oSeoEncoder */
            \OxidEsales\Eshop\Core\Registry::getSeoEncoder()->markAsExpired($sArtId, $sShopId, 1, null, "oxtype='oxarticle'");
        }
    }
public function resetArtSeoUrl ( $ aArtIds , $ aCatIds = null ) { if ( empty ( $ aArtIds ) ) { return ; } if ( ! is_array ( $ aArtIds ) ) { $ aArtIds = [ $ aArtIds ] ; } $ sShopId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopId ( ) ; foreach ( $ aArtIds as $ sArtId ) { /** @var \OxidEsales\Eshop\Core\SeoEncoder $oSeoEncoder */ \ OxidEsales \ Eshop \ Core \ Registry :: getSeoEncoder ( ) -> markAsExpired ( $ sArtId , $ sShopId , 1 , null , "oxtype='oxarticle'" ) ; } }
Marks article seo url as expired

@param array $aArtIds article id's
@param array $aCatIds ids if categories, which must be removed from oxseo

@return null
Marks article seo url as expired