cvs: phpdoc-fr /reference/phar PharException.xml /reference/phar/Phar buildFromDirectory.xml buildFromIterator.xml setSignatureAlgorithm.xml
| From: | Yannick Torres | Date: | Thu, 05 Feb 2009 06:16:48 +0000 |
| Subject: | cvs: phpdoc-fr /reference/phar PharException.xml /reference/phar/Phar buildFromDirectory.xml buildFromIterator.xml setSignatureAlgorithm.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6578@lists.php.net to get a copy of this message | ||
yannick Thu Feb 5 06:16:48 2009 UTC
Modified files:
/phpdoc-fr/reference/phar PharException.xml
/phpdoc-fr/reference/phar/Phar setSignatureAlgorithm.xml
buildFromIterator.xml
buildFromDirectory.xml
Log:
correct some errors & ws
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/PharException.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/PharException.xml diff -u phpdoc-fr/reference/phar/PharException.xml:1.1 phpdoc-fr/reference/phar/PharException.xml:1.2 --- phpdoc-fr/reference/phar/PharException.xml:1.1 Tue Jan 6 12:29:32 2009 +++ phpdoc-fr/reference/phar/PharException.xml Thu Feb 5 06:16:48 2009 @@ -1,76 +1,76 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <phpdoc:exceptionref xml:id="class.PharException" xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:phpdoc="http://php.net/ns/phpdoc"> +xmlns:xlink="http://www.w3.org/1999/xlink" +xmlns:xi="http://www.w3.org/2001/XInclude" +xmlns:phpdoc="http://php.net/ns/phpdoc"> <title>La classe PharException</title> <titleabbrev>PharException</titleabbrev> <partintro> - -<!-- {{{ Phar intro --> + + <!-- {{{ Phar intro --> <section xml:id="PharException.intro"> &reftitle.intro; <para> - La classe PharException fournit une classe d'exception spécifique à phar - pour essayer/attraper des blocs. + La classe PharException fournit une classe d'exception spécifique à phar + pour essayer/attraper des blocs. </para> </section> -<!-- }}} --> - + <!-- }}} --> + <section xml:id="PharException.synopsis"> &reftitle.classsynopsis; - -<!-- {{{ Synopsis --> + + <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>PharException</classname></ooclass> - -<!-- {{{ Class synopsis --> + + <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>PharException</classname> </ooclass> - + <ooclass> <modifier>extends</modifier> <classname>Exception</classname> </ooclass> - + </classsynopsisinfo> -<!-- }}} --> - + <!-- }}} --> + <classsynopsisinfo role="comment">Propriétés</classsynopsisinfo> - -<!-- <classsynopsisinfo role="comment">Méthodes héritées</classsynopsisinfo> + + <!-- <classsynopsisinfo role="comment">Méthodes héritées</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.Exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> ---> + --> </classsynopsis> -<!-- }}} --> - + <!-- }}} --> + </section> - + </partintro> -<refentry xmlns="http://docbook.org/ns/docbook" xml:id="PharException.intro.unused"> - <refnamediv> - <refname>PharException</refname> - <refpurpose> La classe PharException fournit une classe d'exception spécifique à phar - pour essayer/attraper des blocs.</refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - - <para> - </para> - </refsect1> - -</refentry> - -</phpdoc:exceptionref> + <refentry xmlns="http://docbook.org/ns/docbook" xml:id="PharException.intro.unused"> + <refnamediv> + <refname>PharException</refname> + <refpurpose>La classe PharException fournit une classe d'exception spécifique à phar + pour essayer/attraper des blocs</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + + <para> + </para> + </refsect1> + + </refentry> +</phpdoc:exceptionref> + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml diff -u phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml:1.1 phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml:1.2 --- phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml:1.1 Sun Jan 18 18:23:20 2009 +++ phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml Thu Feb 5 06:16:48 2009 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.4 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <refentry xml:id="phar.setsignaturealgorithm" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Phar::setSignatureAlgorithm</refname> - <refpurpose>Fixe et applique l'algorithme de signature d'un phar.</refpurpose> + <refpurpose>Fixe et applique l'algorithme de signature d'un phar</refpurpose> </refnamediv> <refsect1 role="description"> @@ -51,7 +51,7 @@ Le contenu d'une clé privée OpenSSL, telle qu'extraite d'un certificat ou d'un fichier de clé OpenSSL : <programlisting role="php"> - <![CDATA[ +<![CDATA[ $private = openssl_get_privatekey(file_get_contents('private.pem')); $pkey = ''; openssl_pkey_export($private, $pkey); http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/Phar/buildFromIterator.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/Phar/buildFromIterator.xml diff -u phpdoc-fr/reference/phar/Phar/buildFromIterator.xml:1.1 phpdoc-fr/reference/phar/Phar/buildFromIterator.xml:1.2 --- phpdoc-fr/reference/phar/Phar/buildFromIterator.xml:1.1 Tue Jan 6 18:15:43 2009 +++ phpdoc-fr/reference/phar/Phar/buildFromIterator.xml Thu Feb 5 06:16:48 2009 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.3 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <refentry xml:id="phar.buildfromiterator" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Phar::buildFromIterator</refname> - <refpurpose>Construit une archive phar à partir d'un itérateur.</refpurpose> + <refpurpose>Construit une archive phar à partir d'un itérateur</refpurpose> </refnamediv> <refsect1 role="description"> @@ -34,7 +34,7 @@ </para> <para> <screen> - <![CDATA[ +<![CDATA[ /chemin/vers/projet/ config/ dist.xml @@ -48,7 +48,7 @@ index.php cli/ index.php - ]]> +]]> </screen> </para> <para> @@ -56,7 +56,7 @@ </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -66,7 +66,7 @@ '/chemin/vers/projet'); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> <para> @@ -81,7 +81,7 @@ </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -91,19 +91,19 @@ 'phar:///chemin/vers/unautrephar.phar/chemin/vers/projet'); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> </example> <example> - <title>Un exemple avec <function>Phar::buildFromIterator</function> et d'autres itérateurs</title> + <title>Un exemple avec <function>Phar::buildFromIterator</function> et d'autres itérateurs</title> <para> La seconde forme d'itérateur peut être utilisée avec n'importe quel itérateur qui retourne une correspondance clé => valeur, tels que <classname>ArrayIterator</classname> : </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -115,7 +115,7 @@ ))); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> </example> @@ -129,8 +129,8 @@ <term><parameter>iter</parameter></term> <listitem> <para> - N'importe quel itérateur qui fait correspondre de façon associative un fichier phar à un emplacement - ou qui retourne des objets SplFileInfo + N'importe quel itérateur qui fait correspondre de façon associative un fichier phar à un emplacement + ou qui retourne des objets SplFileInfo </para> </listitem> </varlistentry> @@ -138,8 +138,8 @@ <term><parameter>base_directory</parameter></term> <listitem> <para> - Pour les itérateurs qui retournent des objets SplFileInfo, la portion du nom de chaque fichier - à enlever lors de l'ajout à l'archive + Pour les itérateurs qui retournent des objets SplFileInfo, la portion du nom de chaque fichier + à enlever lors de l'ajout à l'archive </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml diff -u phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml:1.1 phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml:1.2 --- phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml:1.1 Tue Jan 6 18:15:43 2009 +++ phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml Thu Feb 5 06:16:48 2009 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <refentry xml:id="phar.buildfromdirectory" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Phar::buildFromDirectory</refname> - <refpurpose>Construit une archive phar à partir des fichiers d'un répertoire.</refpurpose> + <refpurpose>Construit une archive phar à partir des fichiers d'un répertoire</refpurpose> </refnamediv> <refsect1 role="description"> @@ -32,8 +32,8 @@ <term><parameter>base_dir</parameter></term> <listitem> <para> - Le chemin absolu ou relatif vers le répertoire contenant tous les fichiers - à ajouter à l'archive. + Le chemin absolu ou relatif vers le répertoire contenant tous les fichiers + à ajouter à l'archive. </para> </listitem> </varlistentry> @@ -41,9 +41,9 @@ <term><parameter>regex</parameter></term> <listitem> <para> - Une expression rationnelle optionnelle utilisée pour filtrer la liste - des fichiers. Seuls les fichiers dont le nom satisfait l'expression rationnelle - seront inclus dans l'archive. + Une expression rationnelle optionnelle utilisée pour filtrer la liste + des fichiers. Seuls les fichiers dont le nom satisfait l'expression rationnelle + seront inclus dans l'archive. </para> </listitem> </varlistentry> @@ -73,13 +73,13 @@ <refsect1 role="examples"> &reftitle.examples; <example> - <title>Un exemple avec<function>Phar::buildFromDirectory</function></title> + <title>Un exemple avec<function>Phar::buildFromDirectory</function></title> <para> </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -92,7 +92,7 @@ $phar->buildFromDirectory(dirname(__FILE__) . '/projet', '/\.php$/'); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> </example>
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/PharException.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/PharException.xml diff -u phpdoc-fr/reference/phar/PharException.xml:1.1 phpdoc-fr/reference/phar/PharException.xml:1.2 --- phpdoc-fr/reference/phar/PharException.xml:1.1 Tue Jan 6 12:29:32 2009 +++ phpdoc-fr/reference/phar/PharException.xml Thu Feb 5 06:16:48 2009 @@ -1,76 +1,76 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <phpdoc:exceptionref xml:id="class.PharException" xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:phpdoc="http://php.net/ns/phpdoc"> +xmlns:xlink="http://www.w3.org/1999/xlink" +xmlns:xi="http://www.w3.org/2001/XInclude" +xmlns:phpdoc="http://php.net/ns/phpdoc"> <title>La classe PharException</title> <titleabbrev>PharException</titleabbrev> <partintro> - -<!-- {{{ Phar intro --> + + <!-- {{{ Phar intro --> <section xml:id="PharException.intro"> &reftitle.intro; <para> - La classe PharException fournit une classe d'exception spécifique à phar - pour essayer/attraper des blocs. + La classe PharException fournit une classe d'exception spécifique à phar + pour essayer/attraper des blocs. </para> </section> -<!-- }}} --> - + <!-- }}} --> + <section xml:id="PharException.synopsis"> &reftitle.classsynopsis; - -<!-- {{{ Synopsis --> + + <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>PharException</classname></ooclass> - -<!-- {{{ Class synopsis --> + + <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>PharException</classname> </ooclass> - + <ooclass> <modifier>extends</modifier> <classname>Exception</classname> </ooclass> - + </classsynopsisinfo> -<!-- }}} --> - + <!-- }}} --> + <classsynopsisinfo role="comment">Propriétés</classsynopsisinfo> - -<!-- <classsynopsisinfo role="comment">Méthodes héritées</classsynopsisinfo> + + <!-- <classsynopsisinfo role="comment">Méthodes héritées</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.Exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> ---> + --> </classsynopsis> -<!-- }}} --> - + <!-- }}} --> + </section> - + </partintro> -<refentry xmlns="http://docbook.org/ns/docbook" xml:id="PharException.intro.unused"> - <refnamediv> - <refname>PharException</refname> - <refpurpose> La classe PharException fournit une classe d'exception spécifique à phar - pour essayer/attraper des blocs.</refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - - <para> - </para> - </refsect1> - -</refentry> - -</phpdoc:exceptionref> + <refentry xmlns="http://docbook.org/ns/docbook" xml:id="PharException.intro.unused"> + <refnamediv> + <refname>PharException</refname> + <refpurpose>La classe PharException fournit une classe d'exception spécifique à phar + pour essayer/attraper des blocs</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + + <para> + </para> + </refsect1> + + </refentry> +</phpdoc:exceptionref> + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml diff -u phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml:1.1 phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml:1.2 --- phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml:1.1 Sun Jan 18 18:23:20 2009 +++ phpdoc-fr/reference/phar/Phar/setSignatureAlgorithm.xml Thu Feb 5 06:16:48 2009 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.4 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <refentry xml:id="phar.setsignaturealgorithm" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Phar::setSignatureAlgorithm</refname> - <refpurpose>Fixe et applique l'algorithme de signature d'un phar.</refpurpose> + <refpurpose>Fixe et applique l'algorithme de signature d'un phar</refpurpose> </refnamediv> <refsect1 role="description"> @@ -51,7 +51,7 @@ Le contenu d'une clé privée OpenSSL, telle qu'extraite d'un certificat ou d'un fichier de clé OpenSSL : <programlisting role="php"> - <![CDATA[ +<![CDATA[ $private = openssl_get_privatekey(file_get_contents('private.pem')); $pkey = ''; openssl_pkey_export($private, $pkey); http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/Phar/buildFromIterator.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/Phar/buildFromIterator.xml diff -u phpdoc-fr/reference/phar/Phar/buildFromIterator.xml:1.1 phpdoc-fr/reference/phar/Phar/buildFromIterator.xml:1.2 --- phpdoc-fr/reference/phar/Phar/buildFromIterator.xml:1.1 Tue Jan 6 18:15:43 2009 +++ phpdoc-fr/reference/phar/Phar/buildFromIterator.xml Thu Feb 5 06:16:48 2009 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.3 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <refentry xml:id="phar.buildfromiterator" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Phar::buildFromIterator</refname> - <refpurpose>Construit une archive phar à partir d'un itérateur.</refpurpose> + <refpurpose>Construit une archive phar à partir d'un itérateur</refpurpose> </refnamediv> <refsect1 role="description"> @@ -34,7 +34,7 @@ </para> <para> <screen> - <![CDATA[ +<![CDATA[ /chemin/vers/projet/ config/ dist.xml @@ -48,7 +48,7 @@ index.php cli/ index.php - ]]> +]]> </screen> </para> <para> @@ -56,7 +56,7 @@ </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -66,7 +66,7 @@ '/chemin/vers/projet'); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> <para> @@ -81,7 +81,7 @@ </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -91,19 +91,19 @@ 'phar:///chemin/vers/unautrephar.phar/chemin/vers/projet'); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> </example> <example> - <title>Un exemple avec <function>Phar::buildFromIterator</function> et d'autres itérateurs</title> + <title>Un exemple avec <function>Phar::buildFromIterator</function> et d'autres itérateurs</title> <para> La seconde forme d'itérateur peut être utilisée avec n'importe quel itérateur qui retourne une correspondance clé => valeur, tels que <classname>ArrayIterator</classname> : </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -115,7 +115,7 @@ ))); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> </example> @@ -129,8 +129,8 @@ <term><parameter>iter</parameter></term> <listitem> <para> - N'importe quel itérateur qui fait correspondre de façon associative un fichier phar à un emplacement - ou qui retourne des objets SplFileInfo + N'importe quel itérateur qui fait correspondre de façon associative un fichier phar à un emplacement + ou qui retourne des objets SplFileInfo </para> </listitem> </varlistentry> @@ -138,8 +138,8 @@ <term><parameter>base_directory</parameter></term> <listitem> <para> - Pour les itérateurs qui retournent des objets SplFileInfo, la portion du nom de chaque fichier - à enlever lors de l'ajout à l'archive + Pour les itérateurs qui retournent des objets SplFileInfo, la portion du nom de chaque fichier + à enlever lors de l'ajout à l'archive </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml diff -u phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml:1.1 phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml:1.2 --- phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml:1.1 Tue Jan 6 18:15:43 2009 +++ phpdoc-fr/reference/phar/Phar/buildFromDirectory.xml Thu Feb 5 06:16:48 2009 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: gui Status: ready --> <!-- Reviewed: no --> <refentry xml:id="phar.buildfromdirectory" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Phar::buildFromDirectory</refname> - <refpurpose>Construit une archive phar à partir des fichiers d'un répertoire.</refpurpose> + <refpurpose>Construit une archive phar à partir des fichiers d'un répertoire</refpurpose> </refnamediv> <refsect1 role="description"> @@ -32,8 +32,8 @@ <term><parameter>base_dir</parameter></term> <listitem> <para> - Le chemin absolu ou relatif vers le répertoire contenant tous les fichiers - à ajouter à l'archive. + Le chemin absolu ou relatif vers le répertoire contenant tous les fichiers + à ajouter à l'archive. </para> </listitem> </varlistentry> @@ -41,9 +41,9 @@ <term><parameter>regex</parameter></term> <listitem> <para> - Une expression rationnelle optionnelle utilisée pour filtrer la liste - des fichiers. Seuls les fichiers dont le nom satisfait l'expression rationnelle - seront inclus dans l'archive. + Une expression rationnelle optionnelle utilisée pour filtrer la liste + des fichiers. Seuls les fichiers dont le nom satisfait l'expression rationnelle + seront inclus dans l'archive. </para> </listitem> </varlistentry> @@ -73,13 +73,13 @@ <refsect1 role="examples"> &reftitle.examples; <example> - <title>Un exemple avec<function>Phar::buildFromDirectory</function></title> + <title>Un exemple avec<function>Phar::buildFromDirectory</function></title> <para> </para> <para> <programlisting role="php"> - <![CDATA[ +<![CDATA[ <?php // crée avec l'alias "projet.phar" $phar = new Phar('projet.phar', 0, 'projet.phar'); @@ -92,7 +92,7 @@ $phar->buildFromDirectory(dirname(__FILE__) . '/projet', '/\.php$/'); $phar->setStub($phar->createDefaultWebStub('cli/index.php', 'www/index.php')); ?> - ]]> +]]> </programlisting> </para> </example>