cvs: phpdoc-fr /reference/tidy/functions tidy-get-error-buffer.xml tidy-get-html-ver.xml
| From: | Mehdi Achour | Date: | Mon, 08 Mar 2004 09:02:37 +0000 |
| Subject: | cvs: phpdoc-fr /reference/tidy/functions tidy-get-error-buffer.xml tidy-get-html-ver.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1998@lists.php.net to get a copy of this message | ||
didou Mon Mar 8 04:02:37 2004 EDT
Modified files:
/phpdoc-fr/reference/tidy/functions tidy-get-error-buffer.xml
tidy-get-html-ver.xml
Log:
sync with en
http://cvs.php.net/diff.php/phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml
diff -u phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.4
phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.5
--- phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml:1.4 Thu Mar 4 08:34:01 2004
+++ phpdoc-fr/reference/tidy/functions/tidy-get-error-buffer.xml Mon Mar 8 04:02:31 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.4 Maintainer: didou Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.tidy-get-error-buffer">
<refnamediv>
@@ -14,12 +14,43 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>tidy_get_error_buffer</methodname>
- <methodparam
choice="opt"><type>bool</type><parameter>detailed</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>tidy</parameter></methodparam>
</methodsynopsis>
-
- &warn.undocumented.func;
-
- </refsect1>
+ <para>
+ <function>tidy_get_error_buffer</function> retourne les erreurs et les
+ avertissements rencontrés lors de l'analyse du document spécifié.
+ </para>
+ <para>
+ <example>
+ <title>Exemple avec
<function>tidy_get_error_buffer</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$html = '<p>paragraph</p>';
+
+$tidy = tidy_parse_string($html);
+echo tidy_get_error_buffer($tidy);
+?>
+]]>
+ </programlisting>
+ <para>
+ L'exemple va afficher :
+ </para>
+ <screen>
+<![CDATA[
+line 1 column 1 - Warning: missing <!DOCTYPE> declaration
+line 1 column 1 - Warning: inserting missing 'title' element
+]]>
+ </screen>
+ </example>
+ </para>
+ <para>
+ Voir aussi
+ <function>tidy_access_count</function>,
+ <function>tidy_error_count</function> et
+ <function>tidy_warning_count</function>.
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file
http://cvs.php.net/diff.php/phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml
diff -u phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.5
phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.6
--- phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml:1.5 Thu Mar 4 08:34:01 2004
+++ phpdoc-fr/reference/tidy/functions/tidy-get-html-ver.xml Mon Mar 8 04:02:31 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.1 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.2 Maintainer: didou Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.tidy-get-html-ver">
<refnamediv>
@@ -13,7 +13,7 @@
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>tidy_get_html_ver</methodname>
- <void/>
+
<methodparam><type>resource</type><parameter>tidy</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;