reference/intl/resourcebundle/get-error-message.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -4,7 +4,7 @@
4
4
<refnamediv>
5
5
<refname>ResourceBundle::getErrorMessage</refname>
6
6
<refname>resourcebundle_get_error_message</refname>
7
-
<refpurpose>Get bundle's last error message.</refpurpose>
7
+
<refpurpose>Get bundle's last error message</refpurpose>
8
8
</refnamediv>
9
9

10
10
<refsect1 role="description">
...
...
@@ -12,19 +12,16 @@
12
12
<para>
13
13
&style.oop;
14
14
</para>
15
-
<methodsynopsis>
16
-
<modifier>public</modifier>
17
-
<type>string</type>
18
-
<methodname>ResourceBundle::getErrorMessage</methodname>
19
-
<void />
15
+
<methodsynopsis role="ResourceBundle">
16
+
<modifier>public</modifier> <type>string</type><methodname>ResourceBundle::getErrorMessage</methodname>
17
+
<void/>
20
18
</methodsynopsis>
21
19
<para>
22
20
&style.procedural;
23
21
</para>
24
22
<methodsynopsis>
25
-
<type>string</type>
26
-
<methodname>resourcebundle_get_error_message</methodname>
27
-
<methodparam><type>ResourceBundle</type><parameter>r</parameter></methodparam>
23
+
<type>string</type><methodname>resourcebundle_get_error_message</methodname>
24
+
<methodparam><type>ResourceBundle</type><parameter>bundle</parameter></methodparam>
28
25
</methodsynopsis>
29
26
<para>
30
27
Get error message from the last function performed by the bundle object.
...
...
@@ -36,7 +33,7 @@
36
33
<para>
37
34
<variablelist>
38
35
<varlistentry>
39
-
<term><parameter>r</parameter></term>
36
+
<term><parameter>bundle</parameter></term>
40
37
<listitem>
41
38
<para>
42
39
<classname>ResourceBundle</classname> object.
...
...
@@ -98,7 +95,6 @@ if(intl_is_failure(ResourceBundle::getErrorCode($r))) {
98
95
</para>
99
96
</refsect1>
100
97
</refentry>
101
-

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