reference/intl/locale/get-all-variants.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="locale.getallvariants">
3
+
<refentry xml:id="locale.getallvariants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
<refnamediv>
5
5
<refname>Locale::getAllVariants</refname>
6
6
<refname>locale_get_all_variants</refname>
...
...
@@ -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>array</type>
19
-
<methodname>Locale::getAllVariants</methodname>
15
+
<methodsynopsis role="Locale">
16
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>null</type></type><methodname>Locale::getAllVariants</methodname>
20
17
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
21
18
</methodsynopsis>
22
19
<para>
23
20
&style.procedural;
24
21
</para>
25
22
<methodsynopsis>
26
-
<type>array</type>
27
-
<methodname>locale_get_all_variants</methodname>
23
+
<type class="union"><type>array</type><type>null</type></type><methodname>locale_get_all_variants</methodname>
28
24
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
29
25
</methodsynopsis>
30
26
<para>
...
...
@@ -55,6 +51,7 @@
55
51
The <type>array</type> containing the list of all variants subtag for the locale
56
52
or &null; if not present
57
53
</para>
54
+
&intl.locale-len.return;
58
55
</refsect1>
59
56

60
57
<refsect1 role="examples">
61
58