NAVI Methods
Creating menus
menu(), submenu(), crumbs()Generating links and URLs
link(), href(), domain(), home(), language(), logout(), redirect()Navigation details
index(), details(), dynamic(), query()
language()
This method returns a URL query parameter you can use to set the language. Use the PAGE methods language() function to request the current language. Alternatively the language setting can be passed as $_POST value in the same way. The available languages can be selected in the backend's setup section.
string language( string ident )
Return
Query parameter
Parameter
Description
identChange language to this one
Get url query parameter
$NAVI->language('es')
RETURN: '?language=es'