Skip to content

Commit 07b1e83

Browse files
committed
Document $method parameter
Cf. <php/php-src#4552 (comment)>. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347874 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent eff1cc6 commit 07b1e83

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

reference/calendar/functions/easter-date.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<methodsynopsis>
1212
<type>int</type><methodname>easter_date</methodname>
1313
<methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
14+
<methodparam choice="opt"><type>int</type><parameter>method</parameter><initializer>CAL_EASTER_DEFAULT</initializer></methodparam>
1415
</methodsynopsis>
1516
<para>
1617
Returns the Unix timestamp corresponding to midnight on Easter of
@@ -53,6 +54,16 @@
5354
</para>
5455
</listitem>
5556
</varlistentry>
57+
<varlistentry>
58+
<term><parameter>method</parameter></term>
59+
<listitem>
60+
<para>
61+
Allows Easter dates to be calculated based on the Julian calendar when set
62+
to <constant>CAL_EASTER_ALWAYS_JULIAN</constant>. See also <link
63+
linkend="calendar.constants">calendar constants</link>.
64+
</para>
65+
</listitem>
66+
</varlistentry>
5667
</variablelist>
5768
</para>
5869
</refsect1>

0 commit comments

Comments
 (0)