source/Application/Controller/Admin/ListComponentAjax.php
public function resetCounter($sCounterType, $sValue = null)
    {
        $blDeleteCacheOnLogout = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blClearCacheOnLogout');

        if (!$blDeleteCacheOnLogout) {
            $myUtilsCount = \OxidEsales\Eshop\Core\Registry::getUtilsCount();
            switch ($sCounterType) {
                case 'priceCatArticle':
                    $myUtilsCount->resetPriceCatArticleCount($sValue);
                    break;
                case 'catArticle':
                    $myUtilsCount->resetCatArticleCount($sValue);
                    break;
                case 'vendorArticle':
                    $myUtilsCount->resetVendorArticleCount($sValue);
                    break;
                case 'manufacturerArticle':
                    $myUtilsCount->resetManufacturerArticleCount($sValue);
                    break;
            }

            $this->_resetContentCache();
        }
    }
public function resetCounter($sCounterType, $sValue = null)
    {
        $blDeleteCacheOnLogout = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blClearCacheOnLogout');

        if (!$blDeleteCacheOnLogout) {
            $myUtilsCount = \OxidEsales\Eshop\Core\Registry::getUtilsCount();
            switch ($sCounterType) {
                case 'priceCatArticle':
                    $myUtilsCount->resetPriceCatArticleCount($sValue);
                    break;
                case 'catArticle':
                    $myUtilsCount->resetCatArticleCount($sValue);
                    break;
                case 'vendorArticle':
                    $myUtilsCount->resetVendorArticleCount($sValue);
                    break;
                case 'manufacturerArticle':
                    $myUtilsCount->resetManufacturerArticleCount($sValue);
                    break;
            }

            $this->_resetContentCache();
        }
    }
public function resetCounter ( $ sCounterType , $ sValue = null ) { $ blDeleteCacheOnLogout = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'blClearCacheOnLogout' ) ; if ( ! $ blDeleteCacheOnLogout ) { $ myUtilsCount = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsCount ( ) ; switch ( $ sCounterType ) { case 'priceCatArticle' : $ myUtilsCount -> resetPriceCatArticleCount ( $ sValue ) ; break ; case 'catArticle' : $ myUtilsCount -> resetCatArticleCount ( $ sValue ) ; break ; case 'vendorArticle' : $ myUtilsCount -> resetVendorArticleCount ( $ sValue ) ; break ; case 'manufacturerArticle' : $ myUtilsCount -> resetManufacturerArticleCount ( $ sValue ) ; break ; } $ this -> _resetContentCache ( ) ; } }
Resets counters values from cache. Resets price category articles, category articles,
vendor articles, manufacturer articles count.

@param string $sCounterType counter type
@param string $sValue       reset value
Resets counters values from cache . Resets price category articles category articles vendor articles manufacturer articles count .