source/Core/ViewConfig.php
public function getResourceUrl($sFile = null)
    {
        if ($sFile) {
            $sValue = $this->getConfig()->getResourceUrl($sFile, $this->isAdmin());
        } elseif (($sValue = $this->getViewConfigParam('basetpldir')) === null) {
            $sValue = $this->getConfig()->getResourceUrl('', $this->isAdmin());
            $this->setViewConfigParam('basetpldir', $sValue);
        }

        return $sValue;
    }
public function getResourceUrl($sFile = null)
    {
        if ($sFile) {
            $sValue = $this->getConfig()->getResourceUrl($sFile, $this->isAdmin());
        } elseif (($sValue = $this->getViewConfigParam('basetpldir')) === null) {
            $sValue = $this->getConfig()->getResourceUrl('', $this->isAdmin());
            $this->setViewConfigParam('basetpldir', $sValue);
        }

        return $sValue;
    }
public function getResourceUrl ( $ sFile = null ) { if ( $ sFile ) { $ sValue = $ this -> getConfig ( ) -> getResourceUrl ( $ sFile , $ this -> isAdmin ( ) ) ; } elseif ( ( $ sValue = $ this -> getViewConfigParam ( 'basetpldir' ) ) === null ) { $ sValue = $ this -> getConfig ( ) -> getResourceUrl ( '' , $ this -> isAdmin ( ) ) ; $ this -> setViewConfigParam ( 'basetpldir' , $ sValue ) ; } return $ sValue ; }
Returns shops resource url

@param string $sFile resource file name

@return string
Returns shops resource url