svn: /phpdoc/en/trunk/reference/datetime/ datetimezone/construct.xml functions/timezone-open.xml

From: Date: Sat, 01 May 2010 04:17:40 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/ datetimezone/construct.xml functions/timezone-open.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6551@lists.php.net to get a copy of this message
danielc Sat, 01 May 2010 04:17:40 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298828 Log: Make datetimezone_open an alias to construct, just like the rest of the functions. Changed paths: U phpdoc/en/trunk/reference/datetime/datetimezone/construct.xml U phpdoc/en/trunk/reference/datetime/functions/timezone-open.xml Modified: phpdoc/en/trunk/reference/datetime/datetimezone/construct.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetimezone/construct.xml 2010-05-01 03:17:52 UTC (rev 298827) +++ phpdoc/en/trunk/reference/datetime/datetimezone/construct.xml 2010-05-01 04:17:40 UTC (rev 298828) @@ -9,10 +9,16 @@ <refsect1 role="description"> &reftitle.description; + <para>&style.oop;</para> <methodsynopsis> <modifier>public</modifier> <methodname>DateTimeZone::__construct</methodname> <methodparam><type>string</type><parameter>timezone</parameter></methodparam> </methodsynopsis> + <para>&style.procedural;</para> + <methodsynopsis> + <type>DateTimeZone</type><methodname>timezone_open</methodname> + <methodparam><type>string</type><parameter>timezone</parameter></methodparam> + </methodsynopsis> <para> Creates new DateTimeZone object. </para> @@ -38,6 +44,7 @@ &reftitle.returnvalues; <para> Returns <classname>DateTimeZone</classname> on success. + &style.procedural; returns &return.falseforfailure;. </para> </refsect1> Modified: phpdoc/en/trunk/reference/datetime/functions/timezone-open.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/functions/timezone-open.xml 2010-05-01 03:17:52 UTC (rev 298827) +++ phpdoc/en/trunk/reference/datetime/functions/timezone-open.xml 2010-05-01 04:17:40 UTC (rev 298828) @@ -3,44 +3,14 @@ <refentry xml:id="function.timezone-open" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>timezone_open</refname> - <refpurpose>Returns new DateTimeZone object</refpurpose> + <refpurpose>&Alias; <methodname>DateTimeZone::__construct</methodname></refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>DateTimeZone</type><methodname>timezone_open</methodname> - <methodparam><type>string</type><parameter>timezone</parameter></methodparam> - </methodsynopsis> - <methodsynopsis> - <type>DateTimeZone</type><methodname>DateTimeZone::__construct</methodname> - <methodparam><type>string</type><parameter>timezone</parameter></methodparam> - </methodsynopsis> + &info.function.alias; <methodname>DateTimeZone::__construct</methodname> </refsect1> - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>timezone</parameter></term> - <listitem> - <para> - Time zone identifier as full name (e.g. Europe/Prague) or abbreviation - (e.g. CET). - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns DateTimeZone object on success &return.falseforfailure;. - </para> - </refsect1> - </refentry> <!-- Keep this comment at the end of the file

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