cvs: phpdoc-fr /reference/filter reference.xml

From: Date: Sun, 27 Jan 2008 14:01:45 +0000
Subject: cvs: phpdoc-fr /reference/filter reference.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5512@lists.php.net to get a copy of this message
yannick Sun Jan 27 14:01:45 2008 UTC Modified files: /phpdoc-fr/reference/filter reference.xml Log: fix bug #43634

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filter/reference.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/filter/reference.xml diff -u phpdoc-fr/reference/filter/reference.xml:1.8 phpdoc-fr/reference/filter/reference.xml:1.9 --- phpdoc-fr/reference/filter/reference.xml:1.8 Mon Dec 10 17:10:06 2007 +++ phpdoc-fr/reference/filter/reference.xml Sun Jan 27 14:01:45 2008 @@ -1,258 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> -<!-- Purpose: basic.vartype --> -<!-- Membership: pecl --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <reference xml:id="ref.filter" xmlns="http://docbook.org/ns/docbook"> - <title>Fonctions Filter</title> - <titleabbrev>Filter</titleabbrev> + <title>Filter &Functions;</title> - <partintro> - <section xml:id="filter.intro"> - &reftitle.intro; - <para> - Cette extension permet de valider et de filtrer les données venant - habituellement de sources non sécurisées comme les entrées utilisateurs. - </para> - <para> - Les filtres suivants existent actuellement, mais vous devriez lire la - section sur les <link linkend="filter.constants">constantes de filtres</link> - pour plus d'informations sur le comportement de chaque constante : - <table> - <title>Filtres existants</title> - <tgroup cols="4"> - <thead> - <row> - <entry>ID</entry> - <entry>Nom</entry> - <entry>Options</entry> - <entry>Flags</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry><constant>FILTER_VALIDATE_INT</constant></entry> - <entry>"int"</entry> - <entry> - <parameter>min_range</parameter>, - <parameter>max_range</parameter> - </entry> - <entry> - <constant>FILTER_FLAG_ALLOW_OCTAL</constant>, - <constant>FILTER_FLAG_ALLOW_HEX</constant> - </entry> - <entry>Valide une valeur en tant qu'entier, optionnellement avec un intervalle spécifique.</entry> - </row> - <row> - <entry><constant>FILTER_VALIDATE_BOOLEAN</constant></entry> - <entry>"boolean"</entry> - <entry></entry> - <entry></entry> - <entry> - Retourne &true; pour "1", "true", "on" et "yes", - &false; pour "0", "false", "off", "no", et "", - &null; sinon. - </entry> - </row> - <row> - <entry><constant>FILTER_VALIDATE_FLOAT</constant></entry> - <entry>"float"</entry> - <entry></entry> - <entry></entry> - <entry>Valide une valeur en tant que nombre flottant.</entry> - </row> - - <row> - <entry><constant>FILTER_VALIDATE_REGEXP</constant></entry> - <entry>"validate_regexp"</entry> - <entry> - <parameter>regexp</parameter> - </entry> - <entry></entry> - <entry> - Valide une valeur en tant qu'une <parameter>regexp</parameter>, - une expression régulière <link linkend="ref.pcre">compatible - PERL</link>. - </entry> - </row> - <row> - <entry><constant>FILTER_VALIDATE_URL</constant></entry> - <entry>"validate_url"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_SCHEME_REQUIRED</constant>, - <constant>FILTER_FLAG_HOST_REQUIRED</constant>, - <constant>FILTER_FLAG_PATH_REQUIRED</constant>, - <constant>FILTER_FLAG_QUERY_REQUIRED</constant> - </entry> - <entry>Valide une valeur en tant qu'URL, optionnellement avec un composant requis.</entry> - </row> - <row> - <entry><constant>FILTER_VALIDATE_EMAIL</constant></entry> - <entry>"validate_email"</entry> - <entry></entry> - <entry></entry> - <entry>Valide une valeur en tant qu'e-mail.</entry> - </row> - <row> - <entry><constant>FILTER_VALIDATE_IP</constant></entry> - <entry>"validate_ip"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_IPV4</constant>, - <constant>FILTER_FLAG_IPV6</constant>, - <constant>FILTER_FLAG_NO_PRIV_RANGE</constant>, - <constant>FILTER_FLAG_NO_RES_RANGE</constant> - </entry> - <entry> - Valide une valeur en tant qu'une adresse IP, optionnellement, uniquement IPv4 ou IPv6 ou pas, - depuis un intervalle privé ou réservé. - </entry> - </row> - - <row> - <entry><constant>FILTER_SANITIZE_STRING</constant></entry> - <entry>"string"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_NO_ENCODE_QUOTES</constant>, - <constant>FILTER_FLAG_STRIP_LOW</constant>, - <constant>FILTER_FLAG_STRIP_HIGH</constant>, - <constant>FILTER_FLAG_ENCODE_LOW</constant>, - <constant>FILTER_FLAG_ENCODE_HIGH</constant>, - <constant>FILTER_FLAG_ENCODE_AMP</constant> - </entry> - <entry>Efface les balises, optionnellement, efface ou encode les caractères spéciaux.</entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_STRIPPED</constant></entry> - <entry>"stripped"</entry> - <entry></entry> - <entry></entry> - <entry>Alias du filtre "string".</entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_ENCODED</constant></entry> - <entry>"encoded"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_STRIP_LOW</constant>, - <constant>FILTER_FLAG_STRIP_HIGH</constant>, - <constant>FILTER_FLAG_ENCODE_LOW</constant>, - <constant>FILTER_FLAG_ENCODE_HIGH</constant> - </entry> - <entry>Chaîne encodée pour les URL, optionnellement, efface ou encode les caractères - spéciaux.</entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_SPECIAL_CHARS</constant></entry> - <entry>"special_chars"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_STRIP_LOW</constant>, - <constant>FILTER_FLAG_STRIP_HIGH</constant>, - <constant>FILTER_FLAG_ENCODE_HIGH</constant> - </entry> - <entry> - Échappement HTML des caractères <literal>'"&lt;&gt;&amp;</literal> - et des caractères dont la valeur ASCII est inférieure à 32, optionnellement, efface - ou encode les autres caractères spéciaux. - </entry> - </row> - <row> - <entry><constant>FILTER_UNSAFE_RAW</constant></entry> - <entry>"unsafe_raw"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_STRIP_LOW</constant>, - <constant>FILTER_FLAG_STRIP_HIGH</constant>, - <constant>FILTER_FLAG_ENCODE_LOW</constant>, - <constant>FILTER_FLAG_ENCODE_HIGH</constant>, - <constant>FILTER_FLAG_ENCODE_AMP</constant> - </entry> - <entry>Ne fait rien, optionnellement, efface ou encode les caractères spéciaux.</entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_EMAIL</constant></entry> - <entry>"email"</entry> - <entry></entry> - <entry></entry> - <entry> - Efface tous les caractères exceptés les lettres, les nombres ainsi que - <literal>!#$%&amp;'*+-/=?^_`{|}~@.[]</literal>. - </entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_URL</constant></entry> - <entry>"url"</entry> - <entry></entry> - <entry></entry> - <entry> - Efface tous les caractères exceptés les lettres, les nombres ainsi que - <literal>$-_.+!*'(),{}|\\^~[]`&lt;&gt;#%";/?:@&amp;=</literal>. - </entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_NUMBER_INT</constant></entry> - <entry>"number_int"</entry> - <entry></entry> - <entry></entry> - <entry> - Efface tous les caractères exceptés les nombres ainsi que - <literal>+-</literal>. - </entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_NUMBER_FLOAT</constant></entry> - <entry>"number_float"</entry> - <entry></entry> - <entry> - <constant>FILTER_FLAG_ALLOW_FRACTION</constant>, - <constant>FILTER_FLAG_ALLOW_THOUSAND</constant>, - <constant>FILTER_FLAG_ALLOW_SCIENTIFIC</constant> - </entry> - <entry> - Efface tous les caractères exceptés les nombres, <literal>+-</literal> et, - optionnellement, <literal>.,eE</literal>. - </entry> - </row> - <row> - <entry><constant>FILTER_SANITIZE_MAGIC_QUOTES</constant></entry> - <entry>"magic_quotes"</entry> - <entry></entry> - <entry></entry> - <entry>Applique la fonction <function>addslashes</function>.</entry> - </row> - <row> - <entry><constant>FILTER_CALLBACK</constant></entry> - <entry>"callback"</entry> - <entry>function ou méthode de <type>callback</type></entry> - <entry></entry> - <entry>Appel une fonction utilisateur pour filtrer les données.</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </section> - <section xml:id="filter.requirements"> - &reftitle.required; - &no.requirement; - </section> - - &reference.filter.configure; - &reference.filter.ini; - - <section xml:id="filter.resources"> - &reftitle.resources; - &no.resource; - </section> - &reference.filter.constants; - </partintro> &reference.filter.entities.functions; + </reference> <!-- Keep this comment at the end of the file
« previous php.doc.fr (#5512) next »