reference/intl/locale/accept-from-http.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -12,19 +12,15 @@
12
12
<para>
13
13
&style.oop;
14
14
</para>
15
-
<methodsynopsis>
16
-
<modifier>public</modifier>
17
-
<modifier>static</modifier>
18
-
<type>string</type>
19
-
<methodname>Locale::acceptFromHttp</methodname>
15
+
<methodsynopsis role="Locale">
16
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>Locale::acceptFromHttp</methodname>
20
17
<methodparam><type>string</type><parameter>header</parameter></methodparam>
21
18
</methodsynopsis>
22
19
<para>
23
20
&style.procedural;
24
21
</para>
25
22
<methodsynopsis>
26
-
<type>string</type>
27
-
<methodname>locale_accept_from_http</methodname>
23
+
<type class="union"><type>string</type><type>false</type></type><methodname>locale_accept_from_http</methodname>
28
24
<methodparam><type>string</type><parameter>header</parameter></methodparam>
29
25
</methodsynopsis>
30
26
<para>
...
...
@@ -55,6 +51,10 @@
55
51
<para>
56
52
The corresponding locale identifier.
57
53
</para>
54
+
<para>
55
+
Returns &false; when the length of <parameter>header</parameter> exceeds
56
+
<constant>INTL_MAX_LOCALE_LEN</constant>.
57
+
</para>
58
58
</refsect1>
59
59

60
60
<refsect1 role="examples">
...
...
@@ -98,7 +98,6 @@ en_US
98
98
</para>
99
99
</refsect1>
100
100
</refentry>
101
-

102
101
<!-- Keep this comment at the end of the file
103
102
Local variables:
104
103
mode: sgml
105
104