source/Application/Model/RssFeed.php
public function mapOxActionToFileCache($sOxActionId)
    {
        $aOxActionToCacheIds = [
            'oxbargain' => 'RSS_BARGAIN',
            'oxtop5' => 'RSS_TopShop',
            'oxnewest' => 'RSS_NewArts'
        ];

        $sFileCacheName = $aOxActionToCacheIds[$sOxActionId];

        if (is_null($sFileCacheName)) {
            $sFileCacheName = '';
        }

        return $sFileCacheName;
    }
public function mapOxActionToFileCache($sOxActionId)
    {
        $aOxActionToCacheIds = [
            'oxbargain' => 'RSS_BARGAIN',
            'oxtop5' => 'RSS_TopShop',
            'oxnewest' => 'RSS_NewArts'
        ];

        $sFileCacheName = $aOxActionToCacheIds[$sOxActionId];

        if (is_null($sFileCacheName)) {
            $sFileCacheName = '';
        }

        return $sFileCacheName;
    }
public function mapOxActionToFileCache ( $ sOxActionId ) { $ aOxActionToCacheIds = [ 'oxbargain' => 'RSS_BARGAIN' , 'oxtop5' => 'RSS_TopShop' , 'oxnewest' => 'RSS_NewArts' ] ; $ sFileCacheName = $ aOxActionToCacheIds [ $ sOxActionId ] ; if ( is_null ( $ sFileCacheName ) ) { $ sFileCacheName = '' ; } return $ sFileCacheName ; }
Give back the cache file name for the given oxActionId.

@param string $sOxActionId The oxaction we want the cache file name for.

@return string The name of the corresponding file cache file.
Give back the cache file name for the given oxActionId .