svn: /phpdoc/en/trunk/reference/datetime/datetime/ construct.xml createfromformat.xml getlasterrors.xml gettimestamp.xml settimestamp.xml

From: Date: Sun, 25 Apr 2010 14:14:56 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/datetime/ construct.xml createfromformat.xml getlasterrors.xml gettimestamp.xml settimestamp.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6464@lists.php.net to get a copy of this message
danielc Sun, 25 Apr 2010 14:14:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298509 Log: Add style.oop/style.procedural to description. Add procedural method synopsis. Changed paths: U phpdoc/en/trunk/reference/datetime/datetime/construct.xml U phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml U phpdoc/en/trunk/reference/datetime/datetime/getlasterrors.xml U phpdoc/en/trunk/reference/datetime/datetime/gettimestamp.xml U phpdoc/en/trunk/reference/datetime/datetime/settimestamp.xml Modified: phpdoc/en/trunk/reference/datetime/datetime/construct.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/construct.xml 2010-04-25 14:09:50 UTC (rev 298508) +++ phpdoc/en/trunk/reference/datetime/datetime/construct.xml 2010-04-25 14:14:56 UTC (rev 298509) @@ -9,11 +9,18 @@ <refsect1 role="description"> &reftitle.description; + <para>&style.oop;</para> <methodsynopsis> <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> </methodsynopsis> + <para>&style.procedural;</para> + <methodsynopsis> + <type>DateTime</type><methodname>date_create</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> + </methodsynopsis> <para> Returns new DateTime object. </para> Modified: phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2010-04-25 14:09:50 UTC (rev 298508) +++ phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2010-04-25 14:14:56 UTC (rev 298509) @@ -9,12 +9,20 @@ <refsect1 role="description"> &reftitle.description; + <para>&style.oop;</para> <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>DateTime</type><methodname>DateTime::createFromFormat</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> <methodparam><type>string</type><parameter>time</parameter></methodparam> <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam> </methodsynopsis> + <para>&style.procedural;</para> + <methodsynopsis> + <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> + <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam> + </methodsynopsis> <para> Returns new DateTime object formatted according to the specified format. </para> Modified: phpdoc/en/trunk/reference/datetime/datetime/getlasterrors.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/getlasterrors.xml 2010-04-25 14:09:50 UTC (rev 298508) +++ phpdoc/en/trunk/reference/datetime/datetime/getlasterrors.xml 2010-04-25 14:14:56 UTC (rev 298509) @@ -9,10 +9,16 @@ <refsect1 role="description"> &reftitle.description; + <para>&style.oop;</para> <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>DateTime::getLastErrors</methodname> <void /> </methodsynopsis> + <para>&style.procedural;</para> + <methodsynopsis> + <type>array</type><methodname>date_get_last_errors</methodname> + <void /> + </methodsynopsis> <para> Returns the warnings and errors found while parsing a date/time string. </para> Modified: phpdoc/en/trunk/reference/datetime/datetime/gettimestamp.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/gettimestamp.xml 2010-04-25 14:09:50 UTC (rev 298508) +++ phpdoc/en/trunk/reference/datetime/datetime/gettimestamp.xml 2010-04-25 14:14:56 UTC (rev 298509) @@ -9,10 +9,16 @@ <refsect1 role="description"> &reftitle.description; + <para>&style.oop;</para> <methodsynopsis> <modifier>public</modifier> <type>int</type><methodname>DateTime::getTimestamp</methodname> <void /> </methodsynopsis> + <para>&style.procedural;</para> + <methodsynopsis> + <type>int</type><methodname>date_timestamp_get</methodname> + <methodparam><type>DateTime</type><parameter>object</parameter></methodparam> + </methodsynopsis> <para> Gets the Unix timestamp. </para> Modified: phpdoc/en/trunk/reference/datetime/datetime/settimestamp.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/settimestamp.xml 2010-04-25 14:09:50 UTC (rev 298508) +++ phpdoc/en/trunk/reference/datetime/datetime/settimestamp.xml 2010-04-25 14:14:56 UTC (rev 298509) @@ -9,10 +9,17 @@ <refsect1 role="description"> &reftitle.description; + <para>&style.oop;</para> <methodsynopsis> <modifier>public</modifier> <type>DateTime</type><methodname>DateTime::setTimestamp</methodname> <methodparam><type>int</type><parameter>unixtimestamp</parameter></methodparam> </methodsynopsis> + <para>&style.procedural;</para> + <methodsynopsis> + <type>DateTime</type><methodname>date_timestamp_set</methodname> + <methodparam><type>DateTime</type><parameter>object</parameter></methodparam> + <methodparam><type>int</type><parameter>unixtimestamp</parameter></methodparam> + </methodsynopsis> <para> Sets the date and time based on an Unix timestamp. </para>

« previous php.doc.cvs (#6464) next »