Locale::acceptFromHttp()

static string acceptFromHttp(string $header)

Not supported. Returns the best available locale based on HTTP "Accept-Language" header according to RFC 2616.

Parameters

string $header The string containing the "Accept-Language" header value

Return Value

string The corresponding locale code

Exceptions

MethodNotImplementedException

See also

http://www.php.net/manual/en/locale.acceptfromhttp.php
doc_Symfony
2016-10-28 06:22:52
Comments
Leave a Comment

Please login to continue.