cvs: phpdoc-fr /reference/phar/PharData buildFromDirectory.xml
| From: | Yannick Torres | Date: | Mon, 09 Feb 2009 06:57:39 +0000 |
| Subject: | cvs: phpdoc-fr /reference/phar/PharData buildFromDirectory.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6606@lists.php.net to get a copy of this message | ||
yannick Mon Feb 9 06:57:39 2009 UTC
Modified files:
/phpdoc-fr/reference/phar/PharData buildFromDirectory.xml
Log:
no period at the end of refpurpose & ws
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/phar/PharData/buildFromDirectory.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-fr/reference/phar/PharData/buildFromDirectory.xml
diff -u phpdoc-fr/reference/phar/PharData/buildFromDirectory.xml:1.1
phpdoc-fr/reference/phar/PharData/buildFromDirectory.xml:1.2
--- phpdoc-fr/reference/phar/PharData/buildFromDirectory.xml:1.1 Sun Feb 8 17:34:08 2009
+++ phpdoc-fr/reference/phar/PharData/buildFromDirectory.xml Mon Feb 9 06:57:39 2009
@@ -1,11 +1,12 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!-- EN-Revision: 1.1 Maintainer: gui Status: ready -->
<!-- Reviewed: no -->
+
<refentry xml:id="phardata.buildfromdirectory" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>PharData::buildFromDirectory</refname>
- <refpurpose>Construit une archive tar/zip à partir des fichiers d'un
répertoire.</refpurpose>
+ <refpurpose>Construit une archive tar/zip à partir des fichiers d'un
répertoire</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -32,8 +33,8 @@
<term><parameter>base_dir</parameter></term>
<listitem>
<para>
- Le chemin relatif ou absolu vers le répertoire contenant tous les fichiers à ajouter
- à l'archive.
+ Le chemin relatif ou absolu vers le répertoire contenant tous les fichiers à ajouter
+ à l'archive.
</para>
</listitem>
</varlistentry>
@@ -41,9 +42,9 @@
<term><parameter>regex</parameter></term>
<listitem>
<para>
- Une expression rationnelle optionnelle qui est utilisée pour filtrer la liste des
- fichiers. Seuls les fichiers dont le nom satisfont l'expression seront inclus
- dans l'archive.
+ Une expression rationnelle optionnelle qui est utilisée pour filtrer la liste des
+ fichiers. Seuls les fichiers dont le nom satisfont l'expression seront inclus
+ dans l'archive.
</para>
</listitem>
</varlistentry>
@@ -71,13 +72,13 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title>Un exemple avec
<function>PharData::buildFromDirectory</function></title>
- <para>
-
- </para>
- <para>
- <programlisting role="php">
- <![CDATA[
+ <title>Un exemple avec
<function>PharData::buildFromDirectory</function></title>
+ <para>
+
+ </para>
+ <para>
+ <programlisting role="php">
+<![CDATA[
<?php
$phar = new PharData('projet.tar');
// ajoute tous les fichiers au projet
@@ -87,13 +88,12 @@
// ajoute tous les fichiers au projet en n'incluant que les fichiers php
$phar->buildFromDirectory(dirname(__FILE__) . '/projet', '/\.php$/');
?>
- ]]>
- </programlisting>
- </para>
+]]>
+ </programlisting>
+ </para>
</example>
</refsect1>
-
<refsect1 role="seealso">
&reftitle.seealso;
<para>