X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv%2FnegotiateLanguage.md;h=e6ddd9b059e24fab77b0f6e62bce722f9717de18;hb=f3b9eb801a8be59a2179c7aa938e49079806f20a;hp=3baf48aabbb7bd6f3f4ace709d96c1e87a7af047;hpb=7823a35136269030a351b68b8ae8ee5026696aea;p=mdref%2Fmdref-http diff --git a/http/Env/negotiateLanguage.md b/http/Env/negotiateLanguage.md index 3baf48a..e6ddd9b 100644 --- a/http/Env/negotiateLanguage.md +++ b/http/Env/negotiateLanguage.md @@ -6,12 +6,12 @@ Negotiate the client's preferred language. ## Params: -* ```array $supported``` +* array $supported List of supported content languages. -* Optional reference ```array &$result``` +* Optional reference array &$result Out parameter recording negotiation results. ## Returns: -* ```NULL```, if negotiation fails. -* ```string```, the negotiated language. +* NULL, if negotiation fails. +* string, the negotiated language.