This method will attempt to set the user-selected language in a cookie. It will do nothing if the language
specified is not in the list of available languages, or the headers have already been sent to the browser.
public static setLanguageCookie ( string $language ) | ||
$language | string | The language set by the user. |