projects
/
mdref
/
mdref-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add curlcode
[mdref/mdref-http]
/
http
/
Env
/
negotiateLanguage.md
diff --git
a/http/Env/negotiateLanguage.md
b/http/Env/negotiateLanguage.md
index 3baf48aabbb7bd6f3f4ace709d96c1e87a7af047..4c91b931e605fcdd7e5585fa322d3413b919718f 100644
(file)
--- a/
http/Env/negotiateLanguage.md
+++ b/
http/Env/negotiateLanguage.md
@@
-2,16
+2,16
@@
Negotiate the client's preferred language.
Negotiate the client's preferred language.
-> **
*NOTE:*
** The first elemement of $supported languages serves as a default if no language matches.
+> **
Note:
** The first elemement of $supported languages serves as a default if no language matches.
## Params:
## Params:
-*
```array $supported```
+*
array $supported
List of supported content languages.
List of supported content languages.
-* Optional reference
```array &$result```
+* Optional reference
array &$result
Out parameter recording negotiation results.
## Returns:
Out parameter recording negotiation results.
## Returns:
-*
```NULL```
, if negotiation fails.
-*
```string```
, the negotiated language.
+*
NULL
, if negotiation fails.
+*
string
, the negotiated language.