reference/intl/intlcalendar/clear.xml
2ca090342977839edca2f7f4e52305a1b5da6095
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intlcalendar.clear" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlCalendar::clear</refname>
...
...
@@ -12,17 +11,17 @@
12
11
<para>
13
12
&style.oop;
14
13
</para>
15
-
<methodsynopsis>
16
-
<modifier>public</modifier> <type>bool</type><methodname>IntlCalendar::clear</methodname>
17
-
<methodparam choice="opt"><type>int</type><parameter>field</parameter><initializer>NULL</initializer></methodparam>
14
+
<methodsynopsis role="IntlCalendar">
15
+
<modifier>public</modifier> <type>true</type><methodname>IntlCalendar::clear</methodname>
16
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>field</parameter><initializer>&null;</initializer></methodparam>
18
17
</methodsynopsis>
19
18
<para>
20
19
&style.procedural;
21
20
</para>
22
21
<methodsynopsis>
23
-
<type>bool</type><methodname>intlcal_clear</methodname>
24
-
<methodparam><type>IntlCalendar</type><parameter>cal</parameter></methodparam>
25
-
<methodparam choice="opt"><type>int</type><parameter>field</parameter><initializer>NULL</initializer></methodparam>
22
+
<type>true</type><methodname>intlcal_clear</methodname>
23
+
<methodparam><type>IntlCalendar</type><parameter>calendar</parameter></methodparam>
24
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>field</parameter><initializer>&null;</initializer></methodparam>
26
25
</methodsynopsis>
27
26
<para>
28
27
Clears either all of the fields or a specific field. A cleared field is
...
...
@@ -38,11 +37,9 @@
38
37
&reftitle.parameters;
39
38
<variablelist>
40
39
<varlistentry>
41
-
<term><parameter>cal</parameter></term>
40
+
<term><parameter>calendar</parameter></term>
42
41
<listitem>
43
-
<para>
44
-
The IntlCalendar resource.
45
-
</para>
42
+
&intl.parameter.intl-calendar;
46
43
</listitem>
47
44
</varlistentry>
48
45
<varlistentry>
...
...
@@ -57,11 +54,28 @@
57
54
<refsect1 role="returnvalues">
58
55
&reftitle.returnvalues;
59
56
<para>
60
-
Returns &true; on success&return.falseforfailure;. Failure can only occur is
61
-
invalid arguments are provided.
57
+
&return.true.always;
62
58
</para>
63
59
</refsect1>
64
60

61
+
<refsect1 role="changelog">
62
+
&reftitle.changelog;
63
+
<para>
64
+
<informaltable>
65
+
<tgroup cols="2">
66
+
<thead>
67
+
<row>
68
+
<entry>&Version;</entry>
69
+
<entry>&Description;</entry>
70
+
</row>
71
+
</thead>
72
+
<tbody>
73
+
&return.type.true;
74
+
</tbody>
75
+
</tgroup>
76
+
</informaltable>
77
+
</para>
78
+
</refsect1>
65
79

66
80
<refsect1 role="examples">
67
81
&reftitle.examples;
...
...
@@ -213,7 +227,6 @@ Array
213
227
</refsect1>
214
228

215
229
</refentry>
216
-

217
230
<!-- Keep this comment at the end of the file
218
231
Local variables:
219
232
mode: sgml
220
233