cvs: peardoc /fr/package/webservices/services-weather constants.xml /fr/package/webservices/services-weather/services-weather apiversion.xml
iserror.xml service.xml /fr/package/webservices/services-weather/services-weather-common calculatedewpoint.xml calculatehumidity.xml
calculatewindchill.xml convertdistance.xml convertpressure.xml convertspeed.xml converttemperature.xml getunitsformat.xml polar2cartesian.xml
setcache.xml setdatetimeformat.xml sethttptimeout.xml setunitsformat.xml

From: Date: Sat, 20 Nov 2004 16:44:33 +0000
Subject: cvs: peardoc /fr/package/webservices/services-weather constants.xml /fr/package/webservices/services-weather/services-weather apiversion.xml
iserror.xml service.xml /fr/package/webservices/services-weather/services-weather-common calculatedewpoint.xml calculatehumidity.xml
calculatewindchill.xml convertdistance.xml convertpressure.xml convertspeed.xml converttemperature.xml getunitsformat.xml polar2cartesian.xml
setcache.xml setdatetimeformat.xml sethttptimeout.xml setunitsformat.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5169@lists.php.net to get a copy of this message
yannick Sat Nov 20 11:44:33 2004 EDT Added files: /peardoc/fr/package/webservices/services-weather/services-weather apiversion.xml iserror.xml service.xml /peardoc/fr/package/webservices/services-weather/services-weather-common calculatedewpoint.xml calculatehumidity.xml calculatewindchill.xml convertdistance.xml convertpressure.xml convertspeed.xml converttemperature.xml getunitsformat.xml polar2cartesian.xml setcache.xml setdatetimeformat.xml sethttptimeout.xml setunitsformat.xml /peardoc/fr/package/webservices/services-weather constants.xml Log: initial translation

http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather/apiversion.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather/apiversion.xml +++ peardoc/fr/package/webservices/services-weather/services-weather/apiversion.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather.apiversion"> <refnamediv> <refname> <function>Services_Weather::apiVersion</function> </refname> <refpurpose>Pour votre convenance, quand je fournis des changements de l'api...</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> string <function>Services_Weather::apiVersion</function> </funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather.apiversion.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.apiversion.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.apiversion.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather/iserror.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather/iserror.xml +++ peardoc/fr/package/webservices/services-weather/services-weather/iserror.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather.iserror"> <refnamediv> <refname> <function>Services_Weather::isError</function> </refname> <refpurpose>V&eacute;rifie la pr&eacute;sente d'un objet d'erreur, comme dans PEAR</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> bool <function>Services_Weather::isError</function> </funcdef> <paramdef> PEAR_Error|mixed <parameter>$value</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather.iserror.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.iserror.param"> &title.param; <para> <variablelist> <varlistentry> <term> <type>PEAR_Error|mixed</type> <parameter>$value</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.iserror.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.iserror.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather/service.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather/service.xml +++ peardoc/fr/package/webservices/services-weather/services-weather/service.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather.service"> <refnamediv> <refname> <function>Services_Weather::service</function> </refname> <refpurpose>Gestionnaire pour cr&eacute;er les objets du service</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> PEAR_Error|object&amp; <function>Services_Weather::service</function> </funcdef> <paramdef> string <parameter>$service</parameter> </paramdef> <paramdef> array <parameter> <optional>$options = &null;</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather.service.desc"> &title.desc; <para> Les cl&eacute;s utilisables pour le tableau d'options sont : <itemizedlist> <listitem> <para>debug active le d&eacute;bogage</para> </listitem> </itemizedlist> --- Common Options <itemizedlist> <listitem> <para>cacheType d&eacute;finit le type de cache &agrave; utiliser</para> </listitem> <listitem> <para>cacheOptions passe des options au cache</para> </listitem> <listitem> <para>unitsFormat utilisez les unit&eacute;s (US)-standard, m&eacute;trique ou personnalis&eacute;es</para> </listitem> <listitem> <para>customUnitsFormat d&eacute;finit un format personnalis&eacute; d'unit&eacute;s</para> </listitem> <listitem> <para>httpTimeout d&eacute;finit le d&eacute;lai maximal pour les requ&ecirc;tes HTTP</para> </listitem> <listitem> <para>dateFormat cha&icirc;ne &agrave; utiliser pour l'affichage des dates</para> </listitem> <listitem> <para>timeFormat cha&icirc;ne &agrave; utiliser pour l'affichage des heures</para> </listitem> </itemizedlist> --- EJSE Options <itemizedlist> <listitem> <para>none</para> </listitem> </itemizedlist> --- GlobalWeather Options <itemizedlist> <listitem> <para>none</para> </listitem> </itemizedlist> --- METAR Options <itemizedlist> <listitem> <para>dsn cha&icirc;ne pour d&eacute;finir la connexion DB</para> </listitem> <listitem> <para>dbOptions passe les options DB</para> </listitem> <listitem> <para>source http, ftp ou file - type de la source des donn&eacute;es</para> </listitem> <listitem> <para>sourcePath endroit o&ugrave; l'on doit chercher les sources, URI ou nom de fichier</para> </listitem> </itemizedlist> --- weather.com Options <itemizedlist> <listitem> <para>partnerID Vous devriez recevoir cette cl&eacute; apr&egrave;s votre inscription</para> </listitem> <listitem> <para>licenseKey avec le service XML de weather.com</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.service.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$service</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.service.throws"> &title.throws; <para> Une erreur PEAR_Error est lanc&eacute;e </para> <para> Une erreur PEAR_Error::SERVICES_WEATHER_ERROR_SERVICE_NOT_FOUND est lanc&eacute;e </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather.service.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/calculatedewpoint.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/calculatedewpoint.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/calculatedewpoint.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.calculatedewpoint"> <refnamediv> <refname> <function>Services_Weather_Common::calculateDewPoint</function> </refname> <refpurpose> Calcule le point de condensation &agrave; partir de la temp&eacute;rateur et de l'humidi&eacute;. Ce n'est qu'une approximation, il n'y pas de formule exacte et celle utilis&eacute;e est appel&eacute;e Magnus-Formula. </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::calculateDewPoint</function> </funcdef> <paramdef> float <parameter>$temperature</parameter> </paramdef> <paramdef> float <parameter>$humidity</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatedewpoint.desc"> &title.desc; <para>La temp&eacute;rateur doit &ecirc;tre entr&eacute;e en degr&egrave;s C!</para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatedewpoint.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$temperature</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.float; <parameter>$humidity</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatedewpoint.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatedewpoint.see"> &title.see; <para> <emphasis>Voir</emphasis> <ulink url="http://www.faqs.org/faqs/meteorology/temp-dewpoint/">http://www.faqs.org/faqs/meteorology/temp-dewpoint/</ulink> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatedewpoint.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/calculatehumidity.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/calculatehumidity.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/calculatehumidity.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.calculatehumidity"> <refnamediv> <refname> <function>Services_Weather_Common::calculateHumidity</function> </refname> <refpurpose> Calcule l'humidit&eacute; &agrave; partir de la temp&eacute;rateur et du point de condensation. Ce n'est qu'une approximation, il n'y a pas de formule exacte et celle utilis&eacute;e est appel&eacute;e Magnus-Formula. </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::calculateHumidity</function> </funcdef> <paramdef> float <parameter>$temperature</parameter> </paramdef> <paramdef> float <parameter>$dewPoint</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatehumidity.desc"> &title.desc; <para>La temp&eacute;rature et le point de condensation doivent &ecirc;tre entr&eacute;s en degr&egrave;s C !</para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatehumidity.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$temperature</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.float; <parameter>$dewPoint</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatehumidity.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatehumidity.see"> &title.see; <para> <emphasis>Voir</emphasis> <ulink url="http://www.faqs.org/faqs/meteorology/temp-dewpoint/">http://www.faqs.org/faqs/meteorology/temp-dewpoint/</ulink> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatehumidity.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/calculatewindchill.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/calculatewindchill.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/calculatewindchill.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.calculatewindchill"> <refnamediv> <refname> <function>Services_Weather_Common::calculateWindChill</function> </refname> <refpurpose>Calcule la temp&eacute;rature du vent &agrave; partir de la temp&eacute;rature et de la vitesse du vent</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::calculateWindChill</function> </funcdef> <paramdef> float <parameter>$temperature</parameter> </paramdef> <paramdef> float <parameter>$speed</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatewindchill.desc"> &title.desc; <para>La temp&eacute;rature doit &ecirc;tre entr&eacute;e en degr&egrave;s F, la vitesse en mph!</para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatewindchill.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$temperature</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.float; <parameter>$speed</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatewindchill.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatewindchill.see"> &title.see; <para> <emphasis>Voir</emphasis> <ulink url="http://www.nws.noaa.gov/om/windchill/">http://www.nws.noaa.gov/om/windchill/</ulink> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.calculatewindchill.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/convertdistance.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/convertdistance.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/convertdistance.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.convertdistance"> <refnamediv> <refname> <function>Services_Weather_Common::convertDistance</function> </refname> <refpurpose>Convertit la distance entre km, ft et sm</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::convertDistance</function> </funcdef> <paramdef> float <parameter>$distance</parameter> </paramdef> <paramdef> string <parameter>$from</parameter> </paramdef> <paramdef> string <parameter>$to</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.convertdistance.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertdistance.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$distance</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$from</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$to</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertdistance.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertdistance.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/convertpressure.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/convertpressure.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/convertpressure.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.convertpressure"> <refnamediv> <refname> <function>Services_Weather_Common::convertPressure</function> </refname> <refpurpose>Convertit la pression entre in, hpa, mb, mm et atm</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::convertPressure</function> </funcdef> <paramdef> float <parameter>$pressure</parameter> </paramdef> <paramdef> string <parameter>$from</parameter> </paramdef> <paramdef> string <parameter>$to</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.convertpressure.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertpressure.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$pressure</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$from</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$to</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertpressure.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertpressure.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/convertspeed.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/convertspeed.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/convertspeed.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.convertspeed"> <refnamediv> <refname> <function>Services_Weather_Common::convertSpeed</function> </refname> <refpurpose>Convertit la vitesse entre mph, kmh, kt, mps et fps</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::convertSpeed</function> </funcdef> <paramdef> float <parameter>$speed</parameter> </paramdef> <paramdef> string <parameter>$from</parameter> </paramdef> <paramdef> string <parameter>$to</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.convertspeed.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertspeed.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$speed</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$from</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$to</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertspeed.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.convertspeed.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/converttemperature.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/converttemperature.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/converttemperature.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.converttemperature"> <refnamediv> <refname> <function>Services_Weather_Common::convertTemperature</function> </refname> <refpurpose>Convertit la temp&eacute;rateur entre f et c</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> float <function>Services_Weather_Common::convertTemperature</function> </funcdef> <paramdef> float <parameter>$temperature</parameter> </paramdef> <paramdef> string <parameter>$from</parameter> </paramdef> <paramdef> string <parameter>$to</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.converttemperature.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.converttemperature.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$temperature</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$from</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$to</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.converttemperature.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.converttemperature.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/getunitsformat.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/getunitsformat.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/getunitsformat.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.getunitsformat"> <refnamediv> <refname> <function>Services_Weather_Common::getUnitsFormat</function> </refname> <refpurpose>Retourne l'unit&eacute; du format s&eacute;lectionn&eacute;</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> array <function>Services_Weather_Common::getUnitsFormat</function> </funcdef> <paramdef> string <parameter> <optional>$unitsFormat = ""</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.getunitsformat.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.getunitsformat.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$unitsFormat</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.getunitsformat.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.getunitsformat.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/polar2cartesian.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/polar2cartesian.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/polar2cartesian.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.polar2cartesian"> <refnamediv> <refname> <function>Services_Weather_Common::polar2cartesian</function> </refname> <refpurpose>Convertit des coordonn&eacute;es polaires en coordonn&eacute;es cart&eacute;siennes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> array <function>Services_Weather_Common::polar2cartesian</function> </funcdef> <paramdef> float <parameter>$latitude</parameter> </paramdef> <paramdef> float <parameter>$longitude</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.polar2cartesian.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.polar2cartesian.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.float; <parameter>$latitude</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.float; <parameter>$longitude</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.polar2cartesian.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.polar2cartesian.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/setcache.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/setcache.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/setcache.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.setcache"> <refnamediv> <refname> <function>Services_Weather_Common::setCache</function> </refname> <refpurpose>Active le cache pour les donn&eacute;es, son utilisation est tr&egrave;s fortement recommand&eacute;e</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> PEAR_Error|bool <function>Services_Weather_Common::setCache</function> </funcdef> <paramdef> string <parameter> <optional>$cacheType = "file"</optional> </parameter> </paramdef> <paramdef> array <parameter> <optional>$cacheOptions = array()</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.setcache.desc"> &title.desc; <para>N&eacute;cessite le package Cache</para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setcache.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$cacheType</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$cacheOptions</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setcache.throws"> &title.throws; <para> Un objet PEAR_Error::SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED est lanc&eacute; </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setcache.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/setdatetimeformat.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/setdatetimeformat.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/setdatetimeformat.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.setdatetimeformat"> <refnamediv> <refname> <function>Services_Weather_Common::setDateTimeFormat</function> </refname> <refpurpose>Modifie la repr&eacute;sentation des dates et heures (Voir http://www.php.net/date)</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> void <function>Services_Weather_Common::setDateTimeFormat</function> </funcdef> <paramdef> string <parameter> <optional>$dateFormat = ""</optional> </parameter> </paramdef> <paramdef> string <parameter> <optional>$timeFormat = ""</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.setdatetimeformat.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setdatetimeformat.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$dateFormat</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$timeFormat</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setdatetimeformat.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setdatetimeformat.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/sethttptimeout.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/sethttptimeout.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/sethttptimeout.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.sethttptimeout"> <refnamediv> <refname> <function>Services_Weather_Common::setHttpTimeout</function> </refname> <refpurpose>D&eacute;finit le d&eacute;lai d'ex&eacute;cution des requ&ecirc;tes HTTP en secondes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> void <function>Services_Weather_Common::setHttpTimeout</function> </funcdef> <paramdef> int <parameter>$httpTimeout</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.sethttptimeout.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.sethttptimeout.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.int; <parameter>$httpTimeout</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.sethttptimeout.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.sethttptimeout.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/services-weather-common/setunitsformat.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/services-weather-common/setunitsformat.xml +++ peardoc/fr/package/webservices/services-weather/services-weather-common/setunitsformat.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.services-weather-common.setunitsformat"> <refnamediv> <refname> <function>Services_Weather_Common::setUnitsFormat</function> </refname> <refpurpose>Modifie la repr&eacute;sentation des unit&eacute;s (standard/m&eacute;trique)</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/Weather/Common.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> void <function>Services_Weather_Common::setUnitsFormat</function> </funcdef> <paramdef> string <parameter>$unitsFormat</parameter> </paramdef> <paramdef> array <parameter> <optional>$customUnitsFormat = array()</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.webservices.services-weather.services-weather-common.setunitsformat.desc"> &title.desc; &notdocumented; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setunitsformat.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$unitsFormat</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$customUnitsFormat</parameter> </term> <listitem> <para /> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setunitsformat.throws"> &title.throws; &noexception; </refsect1> <refsect1 id="package.webservices.services-weather.services-weather-common.setunitsformat.note"> &title.note; &note.notstatic; </refsect1> </refentry> http://cvs.php.net/co.php/peardoc/fr/package/webservices/services-weather/constants.xml?r=1.1&p=1 Index: peardoc/fr/package/webservices/services-weather/constants.xml +++ peardoc/fr/package/webservices/services-weather/constants.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.webservices.services-weather.constants"> <refnamediv> <refname>Package Services_Weather Constants</refname> <refpurpose>Constantes d&eacute;fines et utilis&eacute;es par Services_Weather</refpurpose> </refnamediv> <refsect1 id="package.webservices.services-weather.constants.details"> <title>Toutes les constantes</title> <refsect2 id="package.webservices.services-weather.constants.details.weather---php"> <title>Constantes d&eacute;finies dans Weather.php</title> <para> <table> <title>Constantes d&eacute;finies dans Weather.php</title> <tgroup cols="3"> <thead> <row> <entry>Nom</entry> <entry>Valeur</entry> <entry>Num&eacute;ro de ligne</entry> </row> </thead> <tbody> <row> <entry>SERVICES_WEATHER_ERROR_CACHE_INIT_FAILED</entry> <entry>13</entry> <entry>41</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_DB_NOT_CONNECTED</entry> <entry>14</entry> <entry>42</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_INVALID_LICENSE_KEY</entry> <entry>102</entry> <entry>51</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_INVALID_LOCATION</entry> <entry>2</entry> <entry>48</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_INVALID_PARTNER_ID</entry> <entry>100</entry> <entry>49</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_INVALID_PRODUCT_CODE</entry> <entry>101</entry> <entry>50</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_NO_LOCATION</entry> <entry>1</entry> <entry>47</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_SERVICE_NOT_FOUND</entry> <entry>10</entry> <entry>38</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_UNKNOWN_ERROR</entry> <entry /> <entry>46</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_UNKNOWN_LOCATION</entry> <entry>11</entry> <entry>39</entry> </row> <row> <entry>SERVICES_WEATHER_ERROR_WRONG_SERVER_DATA</entry> <entry>12</entry> <entry>40</entry> </row> <row> <entry>SERVICES_WEATHER_EXPIRES_FORECAST</entry> <entry>7200</entry> <entry>33</entry> </row> <row> <entry>SERVICES_WEATHER_EXPIRES_LINKS</entry> <entry>43200</entry> <entry>34</entry> </row> <row> <entry>SERVICES_WEATHER_EXPIRES_LOCATION</entry> <entry>900</entry> <entry>31</entry> </row> <row> <entry>SERVICES_WEATHER_EXPIRES_UNITS</entry> <entry>900</entry> <entry>30</entry> </row> <row> <entry>SERVICES_WEATHER_EXPIRES_WEATHER</entry> <entry>1800</entry> <entry>32</entry> </row> </tbody> </tgroup> </table> </para> </refsect2> <refsect2 id="package.webservices.services-weather.constants.details.weathercommon---php"> <title>Constantes d&eacute;finies dans WeatherCommon.php</title> <para> <table> <title>Constantes d&eacute;finies dans WeatherCommon.php</title> <tgroup cols="3"> <thead> <row> <entry>Nom</entry> <entry>Valeur</entry> <entry>Num&eacute;ro de ligne</entry> </row> </thead> <tbody> <row> <entry>SERVICES_WEATHER_RADIUS_EARTH</entry> <entry>6378.15</entry> <entry>32</entry> </row> </tbody> </tgroup> </table> </para> </refsect2> </refsect1> </refentry>
« previous php.pear.doc (#5169) next »