src/SearchBundle/objects/db/TShopSearchIndexer.class.php
protected static function &GetShopConfigForIndexer()
    {
        static $oShop;
        if (!isset($oShop)) {
            // get first shop we find
            $oShops = &TdbShopList::GetList();
            $oShop = $oShops->Current();
        }

        return $oShop;
    }
protected static function &GetShopConfigForIndexer()
    {
        static $oShop;
        if (!isset($oShop)) {
            // get first shop we find
            $oShops = &TdbShopList::GetList();
            $oShop = $oShops->Current();
        }

        return $oShop;
    }
protected static function & GetShopConfigForIndexer ( ) { static $ oShop ; if ( ! isset ( $ oShop ) ) { // get first shop we find $ oShops = & TdbShopList :: GetList ( ) ; $ oShop = $ oShops -> Current ( ) ; } return $ oShop ; }
get the shop we use for config data for the indexer... for now we just take
the first we find. later we need some way to connect the two.

@return TdbShop
get the shop we use for config data for the indexer ... for now we just take the first we find . later we need some way to connect the two .