reference/intl/numberformatter/get-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>int</type>
18
-
<methodname>NumberFormatter::getAttribute</methodname>
19
-
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
15
+
<methodsynopsis role="NumberFormatter">
16
+
<modifier>public</modifier> <type class="union"><type>int</type><type>float</type><type>false</type></type><methodname>NumberFormatter::getAttribute</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>int</type>
26
-
<methodname>numfmt_get_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>int</type><type>float</type><type>false</type></type><methodname>numfmt_get_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 numeric attribute associated with the formatter. An example of a
...
...
@@ -39,7 +36,7 @@
39
36
<para>
40
37
<variablelist>
41
38
<varlistentry>
42
-
<term><parameter>fmt</parameter></term>
39
+
<term><parameter>formatter</parameter></term>
43
40
<listitem>
44
41
<para>
45
42
<classname>NumberFormatter</classname> object.
...
...
@@ -47,12 +44,11 @@
47
44
</listitem>
48
45
</varlistentry>
49
46
<varlistentry>
50
-
<term><parameter>attr</parameter></term>
47
+
<term><parameter>attribute</parameter></term>
51
48
<listitem>
52
49
<para>
53
50
Attribute specifier - one of the
54
-
<link
55
-
linkend="intl.numberformatter-constants.unumberformatattribute">
51
+
<link linkend="intl.numberformatter-constants.unumberformatattribute">
56
52
numeric attribute</link> constants.
57
53
</para>
58
54
</listitem>
...
...
@@ -123,7 +119,6 @@ Digits: 2
123
119
</para>
124
120
</refsect1>
125
121
</refentry>
126
-

127
122
<!-- Keep this comment at the end of the file
128
123
Local variables:
129
124
mode: sgml
130
125