svn: /phpdoc/fr/trunk/ language-snippets.ent reference/phar/Phar/addFile.xml reference/phar/Phar/addFromString.xml reference/phar/Phar/offsetSet.xml reference/phar/PharData/addFile.xml reference/phar/PharData/addFromString.xml reference/phar/PharData/offsetSet.xml

[email protected] (George Peter Banyard)
Newsgroups php.doc.fr
Message-ID <[email protected]>
girgias                                  Mon, 28 Dec 2020 21:53:34 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352259

Log:
Apply SVN revision 352192

Changed paths:
    U   phpdoc/fr/trunk/language-snippets.ent
    U   phpdoc/fr/trunk/reference/phar/Phar/addFile.xml
    U   phpdoc/fr/trunk/reference/phar/Phar/addFromString.xml
    U   phpdoc/fr/trunk/reference/phar/Phar/offsetSet.xml
    U   phpdoc/fr/trunk/reference/phar/PharData/addFile.xml
    U   phpdoc/fr/trunk/reference/phar/PharData/addFromString.xml
    U   phpdoc/fr/trunk/reference/phar/PharData/offsetSet.xml

Modified: phpdoc/fr/trunk/language-snippets.ent
===================================================================
--- phpdoc/fr/trunk/language-snippets.ent	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/language-snippets.ent	2020-12-28 21:53:34 UTC (rev 352259)
@@ -2187,6 +2187,24 @@
     <function>PharFileInfo::decompress</function>, et <function>PharFileInfo::compress</function>
     à la place.</para></note>'>

+<!ENTITY phar.note.performance '<note xmlns="http://docbook.org/ns/docbook">
+ <simpara>
+  <function>Phar::addFile</function>, <function>Phar::addFromString</function> and <function>Phar::offsetSet</function>
+  save a new phar archive each time they are called. If performance is a concern,
+  <function>Phar::buildFromDirectory</function> or <function>Phar::buildFromIterator</function>
+  should be used instead.
+ </simpara>
+</note>'>
+
+<!ENTITY phardata.note.performance '<note xmlns="http://docbook.org/ns/docbook">
+ <simpara>
+  <function>PharData::addFile</function>, <function>PharData::addFromString</function> et <function>PharData::offsetSet</function>
+  enregistre une nouvelle archive phar à chaque fois qu elles sont appelées. Si les performances sont une préoccupation,
+  <function>PharData::buildFromDirectory</function> ou <function>PharData::buildFromIterator</function>
+  devraient être utilisé à la place.
+ </simpara>
+</note>'>
+
 <!-- XML -->
 <!ENTITY libxml.required '<para xmlns="http://docbook.org/ns/docbook">
  Cette extension requière l&#39;extension PHP <link linkend="book.libxml">libxml</link>.

Modified: phpdoc/fr/trunk/reference/phar/Phar/addFile.xml
===================================================================
--- phpdoc/fr/trunk/reference/phar/Phar/addFile.xml	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/reference/phar/Phar/addFile.xml	2020-12-28 21:53:34 UTC (rev 352259)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 330543 Maintainer: gui Status: ready -->
+<!-- EN-Revision: 352243 Maintainer: gui Status: ready -->
 <!-- Reviewed: no -->
-
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.addfile">
  <refnamediv>
   <refname>Phar::addFile</refname>
@@ -88,7 +87,12 @@
    </example>
   </para>
  </refsect1>
-
+
+ <refsect1 role="notes">
+  &reftitle.notes;
+  &phar.note.performance;
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Modified: phpdoc/fr/trunk/reference/phar/Phar/addFromString.xml
===================================================================
--- phpdoc/fr/trunk/reference/phar/Phar/addFromString.xml	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/reference/phar/Phar/addFromString.xml	2020-12-28 21:53:34 UTC (rev 352259)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334404 Maintainer: gui Status: ready -->
+<!-- EN-Revision: 352243 Maintainer: gui Status: ready -->
 <!-- Reviewed: no -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.addfromstring">
@@ -83,6 +83,11 @@
   </para>
  </refsect1>

+ <refsect1 role="notes">
+  &reftitle.notes;
+  &phar.note.performance;
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Modified: phpdoc/fr/trunk/reference/phar/Phar/offsetSet.xml
===================================================================
--- phpdoc/fr/trunk/reference/phar/Phar/offsetSet.xml	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/reference/phar/Phar/offsetSet.xml	2020-12-28 21:53:34 UTC (rev 352259)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: gui Status: ready -->
+<!-- EN-Revision: 352243 Maintainer: gui Status: ready -->
 <!-- Reviewed: no -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.offsetset">
@@ -92,6 +92,11 @@
   </para>
  </refsect1>

+ <refsect1 role="notes">
+  &reftitle.notes;
+  &phar.note.performance;
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Modified: phpdoc/fr/trunk/reference/phar/PharData/addFile.xml
===================================================================
--- phpdoc/fr/trunk/reference/phar/PharData/addFile.xml	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/reference/phar/PharData/addFile.xml	2020-12-28 21:53:34 UTC (rev 352259)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 352109 Maintainer: gui Status: ready -->
+<!-- EN-Revision: 352243 Maintainer: gui Status: ready -->
 <!-- Reviewed: no -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="phardata.addfile">
@@ -87,6 +87,11 @@
   </para>
  </refsect1>

+ <refsect1 role="notes">
+  &reftitle.notes;
+  &phardata.note.performance;
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Modified: phpdoc/fr/trunk/reference/phar/PharData/addFromString.xml
===================================================================
--- phpdoc/fr/trunk/reference/phar/PharData/addFromString.xml	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/reference/phar/PharData/addFromString.xml	2020-12-28 21:53:34 UTC (rev 352259)
@@ -1,8 +1,7 @@
 <?xml version='1.0' encoding='utf-8'?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 352107 Maintainer: gui Status: ready -->
+<!-- EN-Revision: 352243 Maintainer: gui Status: ready -->
 <!-- Reviewed: yes -->
-
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="phardata.addfromstring">
  <refnamediv>
   <refname>PharData::addFromString</refname>
@@ -80,6 +79,11 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="notes">
+  &reftitle.notes;
+  &phar.note.performance;
+ </refsect1>

  <refsect1 role="seealso">
   &reftitle.seealso;

Modified: phpdoc/fr/trunk/reference/phar/PharData/offsetSet.xml
===================================================================
--- phpdoc/fr/trunk/reference/phar/PharData/offsetSet.xml	2020-12-28 21:37:33 UTC (rev 352258)
+++ phpdoc/fr/trunk/reference/phar/PharData/offsetSet.xml	2020-12-28 21:53:34 UTC (rev 352259)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 352107 Maintainer: gui Status: ready -->
+<!-- EN-Revision: 352243 Maintainer: gui Status: ready -->
 <!-- Reviewed: no -->
-
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="phardata.offsetset">
  <refnamediv>
   <refname>PharData::offsetSet</refname>
@@ -87,6 +86,11 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="notes">
+  &reftitle.notes;
+  &phar.note.performance;
+ </refsect1>

  <refsect1 role="seealso">
   &reftitle.seealso;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.