reference/intl/messageformatter/parse-message.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="messageformatter.parsemessage">
3
+
<refentry xml:id="messageformatter.parsemessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
<refnamediv>
5
5
<refname>MessageFormatter::parseMessage</refname>
6
6
<refname>msgfmt_parse_message</refname>
...
...
@@ -12,29 +12,25 @@
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>MessageFormatter::parseMessage</methodname>
15
+
<methodsynopsis role="MessageFormatter">
16
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>MessageFormatter::parseMessage</methodname>
20
17
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
21
18
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
22
-
<methodparam><type>string</type><parameter>source</parameter></methodparam>
19
+
<methodparam><type>string</type><parameter>message</parameter></methodparam>
23
20
</methodsynopsis>
24
21
<para>
25
22
&style.procedural;
26
23
</para>
27
24
<methodsynopsis>
28
-
<type>array</type>
29
-
<methodname>msgfmt_parse_message</methodname>
25
+
<type class="union"><type>array</type><type>false</type></type><methodname>msgfmt_parse_message</methodname>
30
26
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
31
27
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
32
-
<methodparam><type>string</type><parameter>value</parameter></methodparam>
28
+
<methodparam><type>string</type><parameter>message</parameter></methodparam>
33
29
</methodsynopsis>
34
30
<para>
35
31
Parses input string without explicitly creating the formatter object. Use
36
32
this function when the format operation is done only once and does not need
37
-
and parameters or state to be kept.
33
+
any parameters or state to be kept.
38
34
</para>
39
35
</refsect1>
40
36
...
...
@@ -54,12 +50,12 @@
54
50
<term><parameter>pattern</parameter></term>
55
51
<listitem>
56
52
<para>
57
-
The pattern with which to parse the <parameter>value</parameter>.
53
+
The pattern with which to parse the <parameter>message</parameter>.
58
54
</para>
59
55
</listitem>
60
56
</varlistentry>
61
57
<varlistentry>
62
-
<term><parameter>source</parameter></term>
58
+
<term><parameter>message</parameter></term>
63
59
<listitem>
64
60
<para>
65
61
The <type>string</type> to parse, conforming to the <parameter>pattern</parameter>.
66
62