public function lurl($langcode, $path = '', array $query = array())
    {
        if ($langcode === $this->language->getDefault()) {
            $langcode = '';
        }

        return $this->url->language($langcode, $path, $query);
    }
public function lurl($langcode, $path = '', array $query = array())
    {
        if ($langcode === $this->language->getDefault()) {
            $langcode = '';
        }

        return $this->url->language($langcode, $path, $query);
    }
public function lurl ( $ langcode , $ path = '' , array $ query = array ( ) ) { if ( $ langcode === $ this -> language -> getDefault ( ) ) { $ langcode = '' ; } return $ this -> url -> language ( $ langcode , $ path , $ query ) ; }
Returns a formatted URL with a language code
@param string $langcode
@param string $path
@param array $query
@return string
Returns a formatted URL with a language code