Property | Type | Description | |
---|---|---|---|
$langParam | string |
Property | Type | Description | |
---|---|---|---|
$_currentLang | string | ||
$_defaultLang | string | ||
$_langFromCookie | string | ||
$_langFromUrl | string | ||
$_languages | array | ||
$yupe | YupeModule |
Method | Description | |
---|---|---|
createUrl ( string $route, array $params = [], string $ampersand = '&' ) : mixed | string | ||
getAvailableLanguages ( ) : array | ||
getCookieKey ( ) : string | ||
getCurrentLang ( ) : null | string | ||
getDefaultLang ( ) : string | ||
getLangFromCookie ( ) : null | string | ||
getLangFromUrl ( ) : null | string | ||
init ( ) | ||
isBackend ( ) : boolean | ||
removeLangFromUrl ( $url ) : string | ||
replaceLangInUrl ( $url, $lang = null ) : string |
public replaceLangInUrl ( $url, $lang = null ) : string | ||
$url | ||
return | string |