svn: /phpdoc/fr/trunk/reference/datetime/ datetimezone/getlocation.xml timezones.xml

From: Date: Mon, 24 Jan 2011 21:41:59 +0000
Subject: svn: /phpdoc/fr/trunk/reference/datetime/ datetimezone/getlocation.xml timezones.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-8238@lists.php.net to get a copy of this message
yannick Mon, 24 Jan 2011 21:41:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=307723 Log: sync with EN Changed paths: U phpdoc/fr/trunk/reference/datetime/datetimezone/getlocation.xml U phpdoc/fr/trunk/reference/datetime/timezones.xml Modified: phpdoc/fr/trunk/reference/datetime/datetimezone/getlocation.xml =================================================================== --- phpdoc/fr/trunk/reference/datetime/datetimezone/getlocation.xml 2011-01-24 21:18:47 UTC (rev 307722) +++ phpdoc/fr/trunk/reference/datetime/datetimezone/getlocation.xml 2011-01-24 21:41:59 UTC (rev 307723) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 299350 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 307705 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="datetimezone.getlocation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -19,7 +19,7 @@ <para>&style.procedural;</para> <methodsynopsis role="procedural"> <type>array</type><methodname>timezone_location_get</methodname> - <void /> + <methodparam><type>DateTimeZone</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> Retourne les informations géographiques d'un fuseau horaire, comprenant le @@ -29,7 +29,11 @@ <refsect1 role="parameters"> &reftitle.parameters; - &no.function.parameters; + <para> + <variablelist> + &date.datetimezone.description; + </variablelist> + </para> </refsect1> <refsect1 role="returnvalues"> @@ -49,6 +53,7 @@ <?php $tz = new DateTimeZone("Europe/Prague"); print_r($tz->getLocation()); +print_r(timezone_location_get($tz)); ?> ]]> </programlisting> @@ -62,6 +67,13 @@ [longitude] => 14.43333 [comments] => ) +Array +( + [country_code] => CZ + [latitude] => 50.08333 + [longitude] => 14.43333 + [comments] => +) ]]> </screen> </example> Modified: phpdoc/fr/trunk/reference/datetime/timezones.xml =================================================================== --- phpdoc/fr/trunk/reference/datetime/timezones.xml 2011-01-24 21:18:47 UTC (rev 307722) +++ phpdoc/fr/trunk/reference/datetime/timezones.xml 2011-01-24 21:41:59 UTC (rev 307723) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 305026 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 307717 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="timezones" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -9,7 +9,7 @@ <note> <simpara> - &date.timezone.dbversion; 2010.15. + &date.timezone.dbversion; 2011.1. </simpara> </note>

« previous php.doc.fr (#8238) next »