cvs: phpdoc-fr /reference/classkit/functions classkit-import.xml /reference/datetime/functions date-sunrise.xml date-sunset.xml

From: Date: Sun, 05 Sep 2004 20:05:26 +0000
Subject: cvs: phpdoc-fr /reference/classkit/functions classkit-import.xml /reference/datetime/functions date-sunrise.xml date-sunset.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3453@lists.php.net to get a copy of this message
yannick Sun Sep 5 16:05:26 2004 EDT Added files: /phpdoc-fr/reference/classkit/functions classkit-import.xml /phpdoc-fr/reference/datetime/functions date-sunrise.xml date-sunset.xml Log: initiale translation http://cvs.php.net/co.php/phpdoc-fr/reference/classkit/functions/classkit-import.xml?r=1.1&p=1 Index: phpdoc-fr/reference/classkit/functions/classkit-import.xml +++ phpdoc-fr/reference/classkit/functions/classkit-import.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.classkit-import"> <refnamediv> <refname>classkit_import</refname> <refpurpose>Importe de nouvelles définitions de méthodes de classes depuis un fichier</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> <type>array</type><methodname>classkit_import</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> &note.classkit.selfmanipulation; &warn.experimental.func; </refsect1> <refsect1> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> Le nom du fichier contenant les définitions des méthodes de classes à importer </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1> &reftitle.returnvalues; <para> Tableau associatif contenant les méthodes importées </para> </refsect1> <!-- No changelog: it's only in PECL. --> <refsect1> &reftitle.examples; <para> <example> <title>Exemple avec <function>classkit_import</function></title> <programlisting role="php"> <![CDATA[ <?php // fichier : newclass.php class Example { function foo() { return "bar!\n"; } } ?> ]]> </programlisting> <programlisting role="php"> <![CDATA[ <?php // requière newclass.php (voir ci-dessous) class Example { function foo() { return "foo!\n"; } } $e = new Example(); // affichage original echo $e->foo(); // importation d'une méthode de remplacement classkit_import('newclass.php'); // affichage après l'importation echo $e->foo(); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ foo! bar! ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>classkit_method_add</function></member> <member><function>classkit_method_copy</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-fr/reference/datetime/functions/date-sunrise.xml?r=1.1&p=1 Index: phpdoc-fr/reference/datetime/functions/date-sunrise.xml +++ phpdoc-fr/reference/datetime/functions/date-sunrise.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="function.date-sunrise"> <refnamediv> <refname>date_sunrise</refname> <refpurpose> Retourne l'heure de levé du soleil pour un jour et un endroit donnés </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>mixed</type><methodname>date_sunrise</methodname> <methodparam><type>mixed</type><parameter>time</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>format</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>latitude</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>longitude</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>zenith</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-fr/reference/datetime/functions/date-sunset.xml?r=1.1&p=1 Index: phpdoc-fr/reference/datetime/functions/date-sunset.xml +++ phpdoc-fr/reference/datetime/functions/date-sunset.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="function.date-sunset"> <refnamediv> <refname>date_sunset</refname> <refpurpose> Retourne l'heure de coucher du soleil pour un jour et un endroit donnés </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>mixed</type><methodname>date_sunset</methodname> <methodparam><type>mixed</type><parameter>time</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>format</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>latitude</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>longitude</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>zenith</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

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