reference/intl/collator/create.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -10,19 +10,15 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<para>&style.oop;</para>
13
-
<methodsynopsis>
14
-
<modifier>public</modifier>
15
-
<modifier>static</modifier>
16
-
<type>Collator</type>
17
-
<methodname>Collator::create</methodname>
13
+
<methodsynopsis role="Collator">
14
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>Collator</type><type>null</type></type><methodname>Collator::create</methodname>
18
15
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
19
16
</methodsynopsis>
20
17
<para>
21
18
&style.procedural;
22
19
</para>
23
20
<methodsynopsis>
24
-
<type>Collator</type>
25
-
<methodname>collator_create</methodname>
21
+
<type class="union"><type>Collator</type><type>null</type></type><methodname>collator_create</methodname>
26
22
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
27
23
</methodsynopsis>
28
24
<para>
...
...
@@ -39,9 +35,9 @@
39
35
<listitem>
40
36
<para>
41
37
The locale containing the required collation rules. Special values for
42
-
locales can be passed in - if null is passed for the locale, the
43
-
default locale collation rules will be used. If empty string ("") or
44
-
"root" are passed, <link xlink:href="&url.icu.uca;">UCA</link> rules will be used.
38
+
locales can be passed in - if an empty &string; is passed for the locale, the
39
+
default locale collation rules will be used. If
40
+
<literal>"root"</literal> is passed, <link xlink:href="&url.icu.uca;">UCA</link> rules will be used.
45
41
</para>
46
42
</listitem>
47
43
</varlistentry>
...
...
@@ -88,7 +84,6 @@ if( !isset( $coll ) ) {
88
84
</para>
89
85
</refsect1>
90
86
</refentry>
91
-

92
87
<!-- Keep this comment at the end of the file
93
88
Local variables:
94
89
mode: sgml
95
90