cvs: phpdoc /en/reference/datetime versions.xml /en/reference/datetime/datetimezone listidentifiers.xml
| From: | Hannes Magnusson | Date: | Sun, 21 Jun 2009 20:40:24 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime versions.xml /en/reference/datetime/datetimezone listidentifiers.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4188@lists.php.net to get a copy of this message | ||
bjori Sun Jun 21 20:40:24 2009 UTC
Modified files:
/phpdoc/en/reference/datetime versions.xml
/phpdoc/en/reference/datetime/datetimezone listidentifiers.xml
Log:
- Fixed bug#47899 (DateTimeZone::listIdentifiers() documentation is
ambigious)
- Improved docs for the country parameter
- Marked method as static
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/versions.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/datetime/versions.xml
diff -u phpdoc/en/reference/datetime/versions.xml:1.6 phpdoc/en/reference/datetime/versions.xml:1.7
--- phpdoc/en/reference/datetime/versions.xml:1.6 Tue May 5 08:41:06 2009
+++ phpdoc/en/reference/datetime/versions.xml Sun Jun 21 20:40:24 2009
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!--
Do NOT translate this file
-->
@@ -31,7 +31,7 @@
<function name='datetimezone::getoffset' from='PHP 5 >= 5.2.0'/>
<function name='datetimezone::gettransitions' from='PHP 5 >=
5.2.0'/>
<function name='datetimezone::listabbreviations' from='PHP 5 >=
5.2.0'/>
- <function name='datetimezone::listidentifiers' from='PHP 5 >=
5.3.0'/>
+ <function name='datetimezone::listidentifiers' from='PHP 5 >=
5.2.0'/>
<function name='dateinterval::__construct' from='PHP 5 >=
5.3.0'/>
<function name='dateinterval::createfromdatestring' from='PHP 5 >=
5.3.0'/>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/datetimezone/listidentifiers.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/datetime/datetimezone/listidentifiers.xml
diff -u phpdoc/en/reference/datetime/datetimezone/listidentifiers.xml:1.2
phpdoc/en/reference/datetime/datetimezone/listidentifiers.xml:1.3
--- phpdoc/en/reference/datetime/datetimezone/listidentifiers.xml:1.2 Mon Jan 12 15:42:03 2009
+++ phpdoc/en/reference/datetime/datetimezone/listidentifiers.xml Sun Jun 21 20:40:24 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="datetimezone.listidentifiers" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>DateTimeZone::listIdentifiers</methodname>
+
<modifier>static</modifier><type>array</type><methodname>DateTimeZone::listIdentifiers</methodname>
<methodparam
choice="opt"><type>int</type><parameter>what</parameter><initializer>DateTime::ALL</initializer></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>country</parameter><initializer>NULL</initializer></methodparam>
</methodsynopsis>
@@ -40,6 +40,12 @@
<para>
A two-letter ISO 3166-1 compatible country code.
</para>
+ <note>
+ <simpara>
+ This option is only used when <parameter>what</parameter> is set to
+ <constant>DateTimeZone::PER_COUNTRY</constant>.
+ </simpara>
+ </note>
</listitem>
</varlistentry>
</variablelist>
@@ -53,6 +59,31 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ Added the optional <parameter>what</parameter> and
+ <parameter>country</parameter> parameters.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>