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

4
3
<refentry xml:id="intlcalendar.equals" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlCalendar::equals</refname>
...
...
@@ -12,7 +11,7 @@
12
11
<para>
13
12
&style.oop;
14
13
</para>
15
-
<methodsynopsis>
14
+
<methodsynopsis role="IntlCalendar">
16
15
<modifier>public</modifier> <type>bool</type><methodname>IntlCalendar::equals</methodname>
17
16
<methodparam><type>IntlCalendar</type><parameter>other</parameter></methodparam>
18
17
</methodsynopsis>
...
...
@@ -21,7 +20,7 @@
21
20
</para>
22
21
<methodsynopsis>
23
22
<type>bool</type><methodname>intlcal_equals</methodname>
24
-
<methodparam><type>IntlCalendar</type><parameter>cal</parameter></methodparam>
23
+
<methodparam><type>IntlCalendar</type><parameter>calendar</parameter></methodparam>
25
24
<methodparam><type>IntlCalendar</type><parameter>other</parameter></methodparam>
26
25
</methodsynopsis>
27
26
<para>
...
...
@@ -34,11 +33,9 @@
34
33
&reftitle.parameters;
35
34
<variablelist>
36
35
<varlistentry>
37
-
<term><parameter>cal</parameter></term>
36
+
<term><parameter>calendar</parameter></term>
38
37
<listitem>
39
-
<para>
40
-
The IntlCalendar resource.
41
-
</para>
38
+
&intl.parameter.intl-calendar;
42
39
</listitem>
43
40
</varlistentry>
44
41
<varlistentry>
...
...
@@ -57,13 +54,11 @@
57
54
<para>
58
55
Returns &true; if the current time of both this and the passed in
59
56
<classname>IntlCalendar</classname> object are the same, or &false;
60
-
otherwise. The value &false; can also be returned on failure. This can only
61
-
happen if bad arguments are passed in. In any case, the two cases can be
62
-
distinguished by calling <function>intl_get_error_code</function>.
57
+
otherwise.
63
58
</para>
59
+
&intl.error.intl-calendar;
64
60
</refsect1>
65
61

66
-

67
62
<refsect1 role="examples">
68
63
&reftitle.examples;
69
64
<para>
...
...
@@ -107,7 +102,6 @@ var_dump($cal1->equals($cal2)); //FALSE
107
102
</refsect1>
108
103

109
104
</refentry>
110
-

111
105
<!-- Keep this comment at the end of the file
112
106
Local variables:
113
107
mode: sgml
114
108