mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add roles to methodsynopsis.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299461 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
eb13bf37ab
commit
f85c864b93
18 changed files with 20 additions and 19 deletions
|
@ -9,21 +9,21 @@
|
|||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<constructorsynopsis role="oop">
|
||||
<constructorsynopsis>
|
||||
<modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>start</parameter></methodparam>
|
||||
<methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>recurrences</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
|
||||
</constructorsynopsis>
|
||||
<constructorsynopsis role="oop">
|
||||
<constructorsynopsis>
|
||||
<modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>start</parameter></methodparam>
|
||||
<methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
||||
<methodparam><type>DateTime</type><parameter>end</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
|
||||
</constructorsynopsis>
|
||||
<constructorsynopsis role="oop">
|
||||
<constructorsynopsis>
|
||||
<modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>isostr</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_add</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<constructorsynopsis role="oop">
|
||||
<constructorsynopsis>
|
||||
<modifier>public</modifier> <methodname>DateTime::__construct</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>time</parameter><initializer>"now"</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_create_from_format</methodname>
|
||||
<methodparam><type>string</type><parameter>format</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>time</parameter></methodparam>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>false</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateInterval</type><methodname>date_diff</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>datetime1</parameter></methodparam>
|
||||
<methodparam><type>DateTime</type><parameter>datetime2</parameter></methodparam>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<methodparam><type>string</type><parameter>format</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>string</type><methodname>date_format</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>format</parameter></methodparam>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<void />
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>array</type><methodname>date_get_last_errors</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<void />
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>int</type><methodname>date_offset_get</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<void />
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>int</type><methodname>date_timestamp_get</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTimeZone</type><methodname>date_timezone_get</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<methodparam><type>string</type><parameter>modify</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_modify</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>modify</parameter></methodparam>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<methodparam><type>int</type><parameter>day</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_date_set</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>year</parameter></methodparam>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<methodparam choice="opt"><type>int</type><parameter>day</parameter><initializer>1</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_isodate_set</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>year</parameter></methodparam>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<methodparam choice="opt"><type>int</type><parameter>second</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_time_set</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>hour</parameter></methodparam>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<methodparam><type>int</type><parameter>unixtimestamp</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_timestamp_set</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>unixtimestamp</parameter></methodparam>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<methodparam><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_timezone_set</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<methodsynopsis role="procedural">
|
||||
<type>DateTime</type><methodname>date_sub</methodname>
|
||||
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
|
||||
<methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<constructorsynopsis>
|
||||
<void />
|
||||
<modifier>public</modifier> <methodname>DateTimeZone::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
||||
</constructorsynopsis>
|
||||
|
|
Loading…
Reference in a new issue