cvs: peardoc /fr/package/php/phpdoc doccomments.xml intro.xml keywordauthor.xml keywordconst.xml keyworddeprecated.xml keywordglobal.xml
keywordpackage.xml keywordparam.xml keywordreturn.xml keywordsee.xml keywordsince.xml keywordstatic.xml keywordvar.xml requirements.xml

From: Date: Fri, 19 Nov 2004 12:22:44 +0000
Subject: cvs: peardoc /fr/package/php/phpdoc doccomments.xml intro.xml keywordauthor.xml keywordconst.xml keyworddeprecated.xml keywordglobal.xml
keywordpackage.xml keywordparam.xml keywordreturn.xml keywordsee.xml keywordsince.xml keywordstatic.xml keywordvar.xml requirements.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5144@lists.php.net to get a copy of this message
yannick Fri Nov 19 07:22:44 2004 EDT Added files: /peardoc/fr/package/php/phpdoc doccomments.xml intro.xml keywordauthor.xml keywordconst.xml keyworddeprecated.xml keywordglobal.xml keywordpackage.xml keywordparam.xml keywordreturn.xml keywordsee.xml keywordsince.xml keywordstatic.xml keywordvar.xml requirements.xml Log: initial translation

http://cvs.php.net/co.php/peardoc/fr/package/php/phpdoc/doccomments.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/doccomments.xml +++ peardoc/fr/package/php/phpdoc/doccomments.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.doccomments"> <refnamediv> <refname>Commentaires</refname> <refpurpose> la structure d'un commentaire de documentation </refpurpose> </refnamediv> <refsect1 id="package.php.phpdoc.doccomments.format"> <title>Format d'un commentaire de documentation</title> <para> Le format g&eacute;n&eacute;ral d'un commentaire de documentation est ind&eacute;pendant de l'&eacute;l&eacute;ment &agrave; d&eacute;crire. Assurez-vous qu'il n'y a rien entre le commentaire et l'&eacute;l&eacute;ment, mise &agrave; par des lignes vides. </para> <para> <programlisting role="php"> <![CDATA[ /** * description courte - une ligne * * description d&eacute;taill&eacute;e (optionnel) * sur plusieurs lignes, les lignes vides * entre les parties de la description ne sont * pas n&eacute;cessaire * * @keyword parameters_of_keyword * @keyword la s&eacute;quence arbitraire de mot cl&eacute; */ [&eacute;l&eacute;ment &agrave; d&eacute;crire] ]]> </programlisting> </para> <para> Types d'&eacute;l&eacute;ments <itemizedlist> <listitem> <para><parameter>class</parameter></para> </listitem> <listitem> <para><parameter>function</parameter></para> </listitem> <listitem> <para><parameter>var</parameter></para> </listitem> <listitem> <para><parameter>define</parameter></para> </listitem> <listitem> <para><parameter>include/require</parameter></para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.doccomments.shortdesc"> <title>Partie : description courte</title> <para> Cette ligne doitd&eacute;crire ce que l'&eacute;l&eacute;ment contient ou ne contient pas. Exemple pour une variable : "Compte les articles", pour une fonction : "Cr&eacute;e un lien hypertexte" ou pour une classe : "fournit les fonctions PDF-related". Cette ligne est normalement rendu dans un index de page ou dans une table de contenu. </para> <note> <para> Une 'ligne' signifie n'importe quel caract&egrave;re entre le premier <parameter>*</parameter> et le caract&egrave;re de nouvelle ligne. </para> </note> </refsect1> <refsect1 id="package.php.phpdoc.doccomments.detaildesc"> <title>Partie : description d&eacute;taill&eacute;e</title> <para> Dans cette partie, vous pouvez &eacute;crire plus d'informations concernant votre &eacute;l&eacute;ment. Notez que les param&egrave;tres, les valeurs retourn&eacute;es ainsi que les liens entre les &eacute;l&eacute;ments sont couverts par la section <literal>keyword</literal>. Quelques tags HTML sont autoris&eacute;s : <itemizedlist> <listitem> <para><parameter>&lt;a&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;i&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;b&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;pre&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;ul&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;li&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;br&gt;</parameter></para> </listitem> <listitem> <para><parameter>&lt;code&gt;</parameter></para> </listitem> </itemizedlist> Mais faites attention, ces tags peuvent &ecirc;tre ignor&eacute;s par des rendus non-HTML de la classe <classname>PHPDoc</classname>. </para> </refsect1> <refsect1 id="package.php.phpdoc.doccomments.keyword"> <title>Partie : <literal>Keyword</literal></title> <para> Le format d'une ligne <literal>Keyword</literal> est simple : <programlisting role="php"> * @keyword &lt;parameters&gt; </programlisting> </para> <para> Tous les <literal>Keyword</literal>s ne sont pas autoris&eacute;s pour tous les &eacute;l&eacute;ments. Lisez la section de port&eacute;e pour savoir quand un <literal>Keyword</literal> est permet ou non. </para> </refsect1> <refsect1 id="package.php.phpdoc.doccomments.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[ /** * Classe panier pour mon site marchand * * Panier est un r&eacute;pository d'instances * de la classe Article... * * @autor Alexander Merz <alexander.merz@php.net>; * @version 1.6 * @access public * @package MyWebShop */ class Panier { /** * contient les articles * @var array * @see add(), mod(), del() */ var $articles = array() ; /** * Ajout d'un article. * * Une instance d'un article donn&eacute; et la somme est * stock&eacute; dans le Panier * * @param object Article $article article to add * @param integer $count count of the article * @return boolean retourne false, si une erreur survient * @access public * @see $articles */ function add( $article, $count = 1) { ... } } ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/intro.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/intro.xml +++ peardoc/fr/package/php/phpdoc/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.introduction"> <refnamediv> <refname>Introduction</refname> <refpurpose> But </refpurpose> </refnamediv> <refsect1 id="package.php.phpdoc.introduction.whatisphpdoc"> <title>Qu'est-ce PHPDoc?</title> <para> PHPDoc est un utilitaire pour g&eacute;n&eacute;rer une API documentation d'applications PHP depuis le code source. Il lit les informations depuis le source et r&eacute;cup&egrave;re les informations depuis des commentaires sp&eacute;ciaux PHPDoc pour cr&eacute;er une documentation de fonctions, de classes, de package.php et de modules. </para> <para> Allez sur <ulink url="&url.phpdoc;">&url.phpdoc;</ulink> pour en savoir plus ainsi que pour une d&eacute;monstration. </para> <para> Le projet PEAR est document&eacute; en utilisant les commentaires PHPDoc. Si vous voulez voir des exemples de ces commentaires, vous n'avez qu'&agrave; regarder les sources du projet PEAR. </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 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/peardoc/fr/package/php/phpdoc/keywordauthor.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordauthor.xml +++ peardoc/fr/package/php/phpdoc/keywordauthor.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.keywordauthor"> <refnamediv> <refname>@author</refname> <refpurpose> d&eacute;crit l'auteur </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@author</command> <arg choice="req"> <option>Name</option> </arg> <arg choice="opt"> <option>&lt;email&gt;</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="package.php.phpdoc.keywordauthor.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.keywordauthor.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @author L'homme invisible * @author Alexander Merz <alexmerz@php.net>.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordconst.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordconst.xml +++ peardoc/fr/package/php/phpdoc/keywordconst.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.keywordconst"> <refnamediv> <refname>@const</refname> <refpurpose> d&eacute;crit des constantes cr&eacute;&eacute;es par <function>define</function> </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@const</command> <arg choice="req"> <option>label</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="package.php.phpdoc.keywordconst.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.keywordconst.example"> <title>Example</title> <para> <programlisting role="php"> <![CDATA[.... /** * nombre maximal de clients autoris&eacute;s en m&ecirc;me temps * @const MAX_CLIENTS maximum clients */ define("MAX_CLIENTS", 1000, true); /** * nombre maximal de requ&ecirc;te par client * @const MAX_REQUESTS_PER_CLIENT */ define("MAX_REQUESTS_PER_CLIENT", 5); .... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keyworddeprecated.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keyworddeprecated.xml +++ peardoc/fr/package/php/phpdoc/keyworddeprecated.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.keyworddeprecated"> <refnamediv> <refname>@deprecated</refname> <refpurpose> marque des &eacute;l&eacute;ments de l'API d&eacute;pr&eacute;ci&eacute;s </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@deprecated</command> <arg choice="req"> <option>label</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="package.php.phpdoc.keyworddeprecated.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.keyworddeprecated.example"> <title>Exemple</title> <para> Notez que le format de <parameter>label</parameter> n'est pas d&eacute;fini par PHPDoc. <programlisting role="php"> <![CDATA[.... * @deprecated Rev. 1.8 - 03/10/2001.... * @deprecated 03-10-2001.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordglobal.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordglobal.xml +++ peardoc/fr/package/php/phpdoc/keywordglobal.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="packages.phpdoc.keywordglobal"> <refnamediv> <refname>@global</refname> <refpurpose> variables globales utilis&eacute;es dans le document </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@global</command> <arg choice="req"> <option>type|objectdef</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordglobal.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordglobal.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @global array $files list of file * @global integer $errcode code d'erreur * @global string $errmsg message d'erreur * @global object Instance syst&egrave;me de fichiers $fs de la classe FS */ function fooBar() { global $files, $errcode, $errmsg, $fs; .... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordpackage.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordpackage.xml +++ peardoc/fr/package/php/phpdoc/keywordpackage.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="packages.phpdoc.keywordpackage"> <refnamediv> <refname>@package</refname> <refpurpose> groupe de classes </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@package</command> <arg choice="req"> <option>label</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordpackage.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordpackage.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @package Net.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordparam.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordparam.xml +++ peardoc/fr/package/php/phpdoc/keywordparam.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="packages.phpdoc.keywordparam"> <refnamediv> <refname>@param</refname> <refpurpose> d&eacute;crit un param&egrave;tre d'une fonction </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@param</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordparam.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordparam.note"> <title>Note</title> <para> PHPDoc d&eacute;tecte les valeurs par d&eacute;faut et les documente depuis la source. </para> </refsect1> <refsect1 id="packages.phpdoc.keywordparam.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @param string $name nom de la personne * (nom complet !) * @param integer $age &acirc;ge de la personne * @param float $size taille de la personne * @param object Adresse $adr addresse de la personne * @param array $childs noms des enfants * @param boolean $job si true, personne a un travail * @param boolean $gender utilisez FEMALE * ou MALE */ function person($name, $age, $size, $adr, $childs, $job=true, $gender=FEMALE) {.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordreturn.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordreturn.xml +++ peardoc/fr/package/php/phpdoc/keywordreturn.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="packages.phpdoc.keywordreturn"> <refnamediv> <refname>@return</refname> <refpurpose> d&eacute;crit la valeur retourn&eacute;e par une fonction </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@return</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="opt"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordreturn.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordreturn.note"> <title>Note</title> <para> Si aucun mot cl&eacute; <parameter>@return</parameter> n'est donn&eacute;, PHPDoc utilisera void. Le mot cl&eacute; est ignor&eacute;, si (oubli&eacute;-)utilis&eacute; dans la fonction constructrice. </para> </refsect1> <refsect1 id="packages.phpdoc.keywordreturn.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @return mixed un objet PEAR_Error ou un entier * @return boolean true, si succ&egrave;s.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordsee.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordsee.xml +++ peardoc/fr/package/php/phpdoc/keywordsee.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="packages.phpdoc.keywordsee"> <refnamediv> <refname>@see</refname> <refpurpose> marqueur de r&eacute;f&eacute;rence vers d'autres &eacute;l&eacute;ments </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@see</command> <arg choice="req"> <option>element</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="packages.phpdoc.keywordsee.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.phpdoc.keywordsee.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @see $article, Article::edit() * @see delete(), print().... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordsince.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordsince.xml +++ peardoc/fr/package/php/phpdoc/keywordsince.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.keywordsince"> <refnamediv> <refname>@since</refname> <refpurpose> marqueur renseignant la date &agrave; laquelle les &eacute;l&eacute;ments de l'API ont &eacute;t&eacute; ajout&eacute;es </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@since</command> <arg choice="req"> <option>label</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="package.php.phpdoc.keywordsince.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>class</para> </listitem> <listitem> <para>function</para> </listitem> <listitem> <para>var</para> </listitem> <listitem> <para>define</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.keywordsince.example"> <title>Exemple</title> <para> Notez que le format de <parameter>label</parameter> n'est pas d&eacute;fini par PHPDoc. <programlisting role="php"> <![CDATA[.... * @since Rev. 1.8 - 03/10/2001.... * @since 03-10-2001.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordstatic.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordstatic.xml +++ peardoc/fr/package/php/phpdoc/keywordstatic.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.keywordstatic"> <refnamediv> <refname>@static</refname> <refpurpose> marque une fonction comme &eacute;tant statique </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@static</command> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="package.php.phpdoc.keywordstatic.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>function</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.keywordstatic.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... class Foo { /** ... * @static */ function Bar (....... // cet appel est permis en accord avec la documentation : Foo::Bar() ; ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/keywordvar.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/keywordvar.xml +++ peardoc/fr/package/php/phpdoc/keywordvar.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.keywordvar"> <refnamediv> <refname>@var</refname> <refpurpose> d&eacute;crit les variables des classes </refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>@var</command> <arg choice="req"> <option>type|objectdefinition</option> </arg> <arg choice="req"> <option>$varname</option> </arg> <arg choice="opt"> <option>description</option> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id="package.php.phpdoc.keywordvar.scope"> <title>Port&eacute;e</title> <para> <itemizedlist> <listitem> <para>var</para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.phpdoc.keywordvar.note"> <title>Note</title> <para> Si aucun type n'est donn&eacute;, PHPDoc tentera de le deviner. </para> </refsect1> <refsect1 id="package.php.phpdoc.keywordvar.example"> <title>Exemple</title> <para> <programlisting role="php"> <![CDATA[.... * @var string $name nom de la personne */ var name = "" ;.... ]]> </programlisting> </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 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/peardoc/fr/package/php/phpdoc/requirements.xml?r=1.1&p=1 Index: peardoc/fr/package/php/phpdoc/requirements.xml +++ peardoc/fr/package/php/phpdoc/requirements.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.php.phpdoc.requirements"> <refnamediv> <refname>Conditions d'utilisation</refname> <refpurpose> Configuration concernant les dépendances, le temps d'exécution et la mémoire </refpurpose> </refnamediv> <refsect1 id="package.php.phpdoc.requirements.extensions"> <title>PHP-Extensions</title> <para> <itemizedlist> <listitem> <para> <command>XML-Support</command> </para> </listitem> <listitem> <para> <command>Perl Compatible Regular Expressions - PCRE</command> </para> </listitem> </itemizedlist> Ces deux extensions doivent être disponibles dans les distributions communes de PHP. </para> </refsect1> <refsect1 id="package.php.phpdoc.requirements.executiontime"> <title>Temps d'exécution</title> <para> I.e. <classname>PHPDoc</classname> a besoin de 3 à 10 minutes pour créer une documentation de l'API du projet complet PEAR dépendant des performances de votre machine. </para> </refsect1> <refsect1 id="package.php.phpdoc.requirements.memorylimit"> <title>Limite de mémoire</title> <para> Il peut être nécessaire d'augmenter la mémoire limite. Tout spécialement lorsque vous utilisez Windows et que PHP plante durant l'exécution de <command>PHPDoc</command>. <screen> memory_limit = 67108846 ; Maximum amount of memory a script may consume (64MB) </screen> </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 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.pear.doc (#5144) next »