public function getLanguageURLPrefix($lang = null)
    {
        // if active lang is not passed in, use current active
        if (!$lang) {
            $lang = $this->getLanguage();
        }

        return $this->isIncludeDefaultLanguage($lang) ? '/' . $lang : '';
    }
public function getLanguageURLPrefix($lang = null)
    {
        // if active lang is not passed in, use current active
        if (!$lang) {
            $lang = $this->getLanguage();
        }

        return $this->isIncludeDefaultLanguage($lang) ? '/' . $lang : '';
    }
public function getLanguageURLPrefix ( $ lang = null ) { // if active lang is not passed in, use current active if ( ! $ lang ) { $ lang = $ this -> getLanguage ( ) ; } return $ this -> isIncludeDefaultLanguage ( $ lang ) ? '/' . $ lang : '' ; }
Get's a URL prefix based on configuration

@param string|null $lang
@return string
Get s a URL prefix based on configuration