src/ShopBundle/objects/db/TShop.class.php
public function &GetActiveSearchObject()
    {
        if (is_null($this->oActiveSearchCache) && array_key_exists(self::SESSION_ACTIVE_SEARCH_CACHE_ID, $_SESSION)) {
            $this->oActiveSearchCache = unserialize(base64_decode($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID]));
            //        $this->oActiveSearchCache = TdbShopSearchCache::GetNewInstance();
            //        if (!$this->oActiveSearchCache->Load($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID])) $this->oActiveSearchCache = null;
        }

        return $this->oActiveSearchCache;
    }
public function &GetActiveSearchObject()
    {
        if (is_null($this->oActiveSearchCache) && array_key_exists(self::SESSION_ACTIVE_SEARCH_CACHE_ID, $_SESSION)) {
            $this->oActiveSearchCache = unserialize(base64_decode($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID]));
            //        $this->oActiveSearchCache = TdbShopSearchCache::GetNewInstance();
            //        if (!$this->oActiveSearchCache->Load($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID])) $this->oActiveSearchCache = null;
        }

        return $this->oActiveSearchCache;
    }
public function & GetActiveSearchObject ( ) { if ( is_null ( $ this -> oActiveSearchCache ) && array_key_exists ( self :: SESSION_ACTIVE_SEARCH_CACHE_ID , $ _SESSION ) ) { $ this -> oActiveSearchCache = unserialize ( base64_decode ( $ _SESSION [ self :: SESSION_ACTIVE_SEARCH_CACHE_ID ] ) ) ; //        $this->oActiveSearchCache = TdbShopSearchCache::GetNewInstance(); //        if (!$this->oActiveSearchCache->Load($_SESSION[self::SESSION_ACTIVE_SEARCH_CACHE_ID])) $this->oActiveSearchCache = null; } return $ this -> oActiveSearchCache ; }
return pointer to the search cache object.

@return TdbShopSearchCache
return pointer to the search cache object .