Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | DalÅ¡Ã |
http_negotiate_language
Popis
string http_negotiate_language ( [array supported [, array &result]] )This function negotiates the clients preferred language based on its Accept-Language HTTP header. The qualifier is recognized and languages without qualifier are rated highest. The qualifier will be decreased by 10% for partial matches (i.e. matching primary language).
Seznam parametrů
supported
Array containing the supported languages as values
result
Will be filled with an array containing the negotiation results
Návratové hodnoty
Returns the negotiated language or the default language (i.e. first array entry) if none match.
PÅ™edcházejÃcà | Domů | DalÅ¡Ã |
http_negotiate_content_type | Nahoru |