reference/intl/numberformatter/get-text-attribute.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -12,20 +12,17 @@
12
12
<para>
13
13
&style.oop;
14
14
</para>
15
-
<methodsynopsis>
16
-
<modifier>public</modifier>
17
-
<type>string</type>
18
-
<methodname>NumberFormatter::getTextAttribute</methodname>
19
-
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
15
+
<methodsynopsis role="NumberFormatter">
16
+
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>NumberFormatter::getTextAttribute</methodname>
17
+
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
20
18
</methodsynopsis>
21
19
<para>
22
20
&style.procedural;
23
21
</para>
24
22
<methodsynopsis>
25
-
<type>string</type>
26
-
<methodname>numfmt_get_text_attribute</methodname>
27
-
<methodparam><type>NumberFormatter</type><parameter>fmt</parameter></methodparam>
28
-
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
23
+
<type class="union"><type>string</type><type>false</type></type><methodname>numfmt_get_text_attribute</methodname>
24
+
<methodparam><type>NumberFormatter</type><parameter>formatter</parameter></methodparam>
25
+
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
29
26
</methodsynopsis>
30
27
<para>
31
28
Get a text attribute associated with the formatter. An example of a text
...
...
@@ -43,7 +40,7 @@
43
40
<para>
44
41
<variablelist>
45
42
<varlistentry>
46
-
<term><parameter>fmt</parameter></term>
43
+
<term><parameter>formatter</parameter></term>
47
44
<listitem>
48
45
<para>
49
46
<classname>NumberFormatter</classname> object.
...
...
@@ -51,12 +48,11 @@
51
48
</listitem>
52
49
</varlistentry>
53
50
<varlistentry>
54
-
<term><parameter>attr</parameter></term>
51
+
<term><parameter>attribute</parameter></term>
55
52
<listitem>
56
53
<para>
57
54
Attribute specifier - one of the
58
-
<link
59
-
linkend="intl.numberformatter-constants.unumberformattextattribute">
55
+
<link linkend="intl.numberformatter-constants.unumberformattextattribute">
60
56
text attribute</link> constants.
61
57
</para>
62
58
</listitem>
...
...
@@ -127,7 +123,6 @@ MINUS1.234.567,891
127
123
</para>
128
124
</refsect1>
129
125
</refentry>
130
-

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