cvs: peardoc /fr/package/configuration/config avail-container.xml

From: Date: Wed, 28 Mar 2007 17:51:40 +0000
Subject: cvs: peardoc /fr/package/configuration/config avail-container.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9561@lists.php.net to get a copy of this message
moosh Wed Mar 28 17:51:40 2007 UTC Modified files: /peardoc/fr/package/configuration/config avail-container.xml Log: - sync to EN-1.3 by aharvey updated Config container information with the newest options.

http://cvs.php.net/viewvc.cgi/peardoc/fr/package/configuration/config/avail-container.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/fr/package/configuration/config/avail-container.xml diff -u peardoc/fr/package/configuration/config/avail-container.xml:1.2 peardoc/fr/package/configuration/config/avail-container.xml:1.3 --- peardoc/fr/package/configuration/config/avail-container.xml:1.2 Sun Dec 10 07:23:12 2006 +++ peardoc/fr/package/configuration/config/avail-container.xml Wed Mar 28 17:51:40 2007 @@ -1,6 +1,8 @@ <?xml version='1.0' encoding='ISO-8859-1' ?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- $Id: avail-container.xml,v 1.3 2007/03/28 17:51:40 moosh Exp $ --> +<!-- EN-Revision: 1.3 Maintainer: moosh Status: tr not complete --> +<!-- Credit: yannick until 1.3 --> <refentry id="package.configuration.config.avail-container"> <refnamediv> @@ -17,7 +19,9 @@ <term><literal>Apache</literal></term> <listitem> <para> - Fichiers de configuration d'Apache + Parses et enregistrer des fichiers de configuration Apache. + + Ce conteneur ne propose pas d'options. </para> </listitem> </varlistentry> @@ -25,9 +29,71 @@ <term><literal>GenericConf</literal></term> <listitem> <para> - Fichiers de configuration génériques. Les caractères égal (=), de début de commentaire + Fichiers de configuration génériques. + + Les caractères égal (=), de début de commentaire et de nouvelle ligne dans l'analyseur peuvent être personnalisés pour correspondre votre format de configuration préféré. + + <table> + <title>Available Options</title> + <tgroup cols="4"> + <thead> + <row> + <entry>Option</entry> + <entry>Data Type</entry> + <entry>Default value</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry> + <quote>comment</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>#</quote> + </entry> + <entry> + The character that signifies the start of a comment. + </entry> + </row> + <row> + <entry> + <quote>equals</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>:</quote> + </entry> + <entry> + The character that separates keys from values. + </entry> + </row> + <row> + <entry> + <quote>newline</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>\</quote> + </entry> + <entry> + The character that signifies that a value continues across multiple + lines. + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> </listitem> </varlistentry> @@ -35,7 +101,9 @@ <term><literal>IniCommented</literal></term> <listitem> <para> - Analyse les fichiers INI standards et maintient les commentaires. + Analyse les fichiers INI standards et maintient les commentaires within the file. + + Ce conteneur ne propose pas d'options. </para> </listitem> </varlistentry> @@ -44,7 +112,11 @@ <listitem> <para> Analyse les fichiers INI standards en utilisant la fonction PHP - <function>parse_ini_file</function>. Ne lit pas les commentaires. + <function>parse_ini_file</function>. + + Ne lit pas les commentaires. + + Ce conteneur ne propose pas d'options. </para> </listitem> </varlistentry> @@ -52,8 +124,59 @@ <term><literal>PHPArray</literal></term> <listitem> <para> - Analyse les structures de tableau PHP. Peut lire depuis un fichier source PHP + Analyse les structures de tableau PHP. + + Peut lire depuis un fichier source PHP ou depuis un tableau en mémoire. + + Due to technical limitations, this container + does not parse blank lines or comments when reading from a configuration + file, therefore any information contained within PHP comments will be + lost. + <table> + <title>Available Options</title> + <tgroup cols="4"> + <thead> + <row> + <entry>Option</entry> + <entry>Data Type</entry> + <entry>Default value</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry> + <quote>name</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>conf</quote> + </entry> + <entry> + The name to use for the root configuration variable, both when + parsing and writing PHP source files. + </entry> + </row> + <row> + <entry> + <quote>useAttr</quote> + </entry> + <entry> + &type.bool; + </entry> + <entry> + &true; + </entry> + <entry> + Controls whether attributes are parsed and saved. + </entry> + </row> + </tbody> + </tgroup> + </table> </para> <warning> <para> @@ -68,7 +191,13 @@ <term><literal>PHPConstants</literal></term> <listitem> <para> - Analyse un jeu de <function>define</function> PHP depuis un fichier source PHP. + Analyse un jeu de <function>define</function> + PHP depuis un fichier source PHP. + + Comments are maintained by this container, + although blank lines will be lost. + + There are no options for this container. </para> </listitem> </varlistentry> @@ -76,7 +205,156 @@ <term><literal>XML</literal></term> <listitem> <para> - Analyse un fichier XML. + Analyse un fichier XML avec <link + linkend="package.xml.xml-parser">XML_Parser</link>. + <table> + <title>Available Options</title> + <tgroup cols="4"> + <thead> + <row> + <entry>Option</entry> + <entry>Data Type</entry> + <entry>Default value</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry> + <quote>version</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>1.0</quote> + </entry> + <entry> + The XML version to use. + </entry> + </row> + <row> + <entry> + <quote>encoding</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>ISO-8859-1</quote> + </entry> + <entry> + The content encoding to use when parsing and storing data. + </entry> + </row> + <row> + <entry> + <quote>name</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>conf</quote> + </entry> + <entry> + As with PHPArray, this defines the name of the global configuration + root. + </entry> + </row> + <row> + <entry> + <quote>indent</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote> </quote> + </entry> + <entry> + The character used for indentation when writing the XML document, + if any. By default, two spaces are used. + </entry> + </row> + <row> + <entry> + <quote>linebreak</quote> + </entry> + <entry> + &type.string; + </entry> + <entry> + <quote>\n</quote> + </entry> + <entry> + The line-breaking character(s) to use when writing the XML + document. + </entry> + </row> + <row> + <entry> + <quote>addDecl</quote> + </entry> + <entry> + &type.bool; + </entry> + <entry> + &true; + </entry> + <entry> + Controls whether the XML declaration is added to the start of the + XML document. + </entry> + </row> + <row> + <entry> + <quote>useAttr</quote> + </entry> + <entry> + &type.bool; + </entry> + <entry> + &true; + </entry> + <entry> + Controls whether attributes are parsed and saved. + </entry> + </row> + <row> + <entry> + <quote>isFile</quote> + </entry> + <entry> + &type.bool; + </entry> + <entry> + &true; + </entry> + <entry> + If &true;, the first argument to <function>parseConfig</function> + will be taken as the file name for the XML file to load. If + &false;, the argument will be taken as the XML data itself and + parsed accordingly. + </entry> + </row> + <row> + <entry> + <quote>useCData</quote> + </entry> + <entry> + &type.bool; + </entry> + <entry> + &false; + </entry> + <entry> + Controls whether data is enclosed in CDATA blocks. + </entry> + </row> + </tbody> + </tgroup> + </table> </para> </listitem> </varlistentry>
« previous php.pear.doc (#9561) next »