reference/intl/resourcebundle/create.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -13,35 +13,30 @@
13
13
<para>
14
14
&style.oop; (method)
15
15
</para>
16
-
<methodsynopsis>
17
-
<modifier>public</modifier>
18
-
<modifier>static</modifier>
19
-
<type>ResourceBundle</type>
20
-
<methodname>ResourceBundle::create</methodname>
21
-
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
22
-
<methodparam><type>string</type><parameter>bundlename</parameter></methodparam>
23
-
<methodparam choice="opt"><type>bool</type><parameter>fallback</parameter></methodparam>
16
+
<methodsynopsis role="ResourceBundle">
17
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>ResourceBundle</type><type>null</type></type><methodname>ResourceBundle::create</methodname>
18
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter></methodparam>
19
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>bundle</parameter></methodparam>
20
+
<methodparam choice="opt"><type>bool</type><parameter>fallback</parameter><initializer>&true;</initializer></methodparam>
24
21
</methodsynopsis>
25
22
<para>
26
23
&style.procedural;
27
24
</para>
28
25
<methodsynopsis>
29
-
<type>ResourceBundle</type>
30
-
<methodname>resourcebundle_create</methodname>
31
-
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
32
-
<methodparam><type>string</type><parameter>bundlename</parameter></methodparam>
33
-
<methodparam choice="opt"><type>bool</type><parameter>fallback</parameter></methodparam>
26
+
<type class="union"><type>ResourceBundle</type><type>null</type></type><methodname>resourcebundle_create</methodname>
27
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter></methodparam>
28
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>bundle</parameter></methodparam>
29
+
<methodparam choice="opt"><type>bool</type><parameter>fallback</parameter><initializer>&true;</initializer></methodparam>
34
30
</methodsynopsis>
35
31
<para>
36
32
&style.oop; (constructor):
37
33
</para>
38
-
<constructorsynopsis>
39
-
<modifier>public</modifier>
40
-
<methodname>ResourceBundle::__construct</methodname>
41
-
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
42
-
<methodparam><type>string</type><parameter>bundlename</parameter></methodparam>
43
-
<methodparam choice="opt"><type>bool</type><parameter>fallback</parameter></methodparam>
44
-
</constructorsynopsis>
34
+
<constructorsynopsis role="ResourceBundle">
35
+
<modifier>public</modifier> <methodname>ResourceBundle::__construct</methodname>
36
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter></methodparam>
37
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>bundle</parameter></methodparam>
38
+
<methodparam choice="opt"><type>bool</type><parameter>fallback</parameter><initializer>&true;</initializer></methodparam>
39
+
</constructorsynopsis>
45
40
<para>
46
41
Creates a resource bundle.
47
42
</para>
...
...
@@ -60,7 +55,7 @@
60
55
</listitem>
61
56
</varlistentry>
62
57
<varlistentry>
63
-
<term><parameter>bundlename</parameter></term>
58
+
<term><parameter>bundle</parameter></term>
64
59
<listitem>
65
60
<para>
66
61
The directory where the data is stored or the name of the .dat file.
...
...
@@ -128,7 +123,6 @@ echo $r['teststring'];
128
123
</para>
129
124
</refsect1>
130
125
</refentry>
131
-

132
126
<!-- Keep this comment at the end of the file
133
127
Local variables:
134
128
mode: sgml
135
129