source/Core/Config.php
public function getUrl($file, $dir, $admin = null, $ssl = null, $nativeImg = false, $lang = null, $shop = null, $theme = null)
    {
        return str_replace(
            $this->getOutDir(),
            $this->getOutUrl($ssl, $admin, $nativeImg),
            $this->getDir($file, $dir, $admin, $lang, $shop, $theme)
        );
    }
public function getUrl($file, $dir, $admin = null, $ssl = null, $nativeImg = false, $lang = null, $shop = null, $theme = null)
    {
        return str_replace(
            $this->getOutDir(),
            $this->getOutUrl($ssl, $admin, $nativeImg),
            $this->getDir($file, $dir, $admin, $lang, $shop, $theme)
        );
    }
public function getUrl ( $ file , $ dir , $ admin = null , $ ssl = null , $ nativeImg = false , $ lang = null , $ shop = null , $ theme = null ) { return str_replace ( $ this -> getOutDir ( ) , $ this -> getOutUrl ( $ ssl , $ admin , $ nativeImg ) , $ this -> getDir ( $ file , $ dir , $ admin , $ lang , $ shop , $ theme ) ) ; }
Finds and returns file or folder url in out dir

@param string $file      File name
@param string $dir       Directory name
@param bool   $admin     Whether to force admin
@param bool   $ssl       Whether to force ssl
@param bool   $nativeImg Whether to force native image dirs
@param int    $lang      Language id
@param int    $shop      Shop id
@param string $theme     Theme name

@return string
Finds and returns file or folder url in out dir