source/Core/ViewConfig.php
public function getActiveShopId()
    {
        if (($sValue = $this->getViewConfigParam('shopid')) === null) {
            $sValue = $this->getConfig()->getShopId();
            $this->setViewConfigParam('shopid', $sValue);
        }

        return $sValue;
    }
public function getActiveShopId()
    {
        if (($sValue = $this->getViewConfigParam('shopid')) === null) {
            $sValue = $this->getConfig()->getShopId();
            $this->setViewConfigParam('shopid', $sValue);
        }

        return $sValue;
    }
public function getActiveShopId ( ) { if ( ( $ sValue = $ this -> getViewConfigParam ( 'shopid' ) ) === null ) { $ sValue = $ this -> getConfig ( ) -> getShopId ( ) ; $ this -> setViewConfigParam ( 'shopid' , $ sValue ) ; } return $ sValue ; }
Returns currently open shop id

@return string
Returns currently open shop id