src/ShopBundle/objects/db/TShop.class.php
public function SetActiveSearchCacheObject(TdbShopSearchCache $oActiveSearchCache)
    {
        $this->oActiveSearchCache = &$oActiveSearchCache;
        if (!is_null($oActiveSearchCache)) {
            $_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID] = base64_encode(serialize($oActiveSearchCache));
        } else {
            unset($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID]);
        }
    }
public function SetActiveSearchCacheObject(TdbShopSearchCache $oActiveSearchCache)
    {
        $this->oActiveSearchCache = &$oActiveSearchCache;
        if (!is_null($oActiveSearchCache)) {
            $_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID] = base64_encode(serialize($oActiveSearchCache));
        } else {
            unset($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID]);
        }
    }
public function SetActiveSearchCacheObject ( TdbShopSearchCache $ oActiveSearchCache ) { $ this -> oActiveSearchCache = & $ oActiveSearchCache ; if ( ! is_null ( $ oActiveSearchCache ) ) { $ _SESSION [ self :: SESSION_ACTIVE_SEARCH_CACHE_ID ] = base64_encode ( serialize ( $ oActiveSearchCache ) ) ; } else { unset ( $ _SESSION [ self :: SESSION_ACTIVE_SEARCH_CACHE_ID ] ) ; } }
store a copy of the active search object.

@param TdbShopSearchCache $oActiveSearchCache
store a copy of the active search object .