mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-26 18:02:17 +01:00
287 lines
9.6 KiB
XML
287 lines
9.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- $Revision$ -->
|
||
<!-- EN-Revision: 7a650f743aca668afb6c4015414fde2363ca145d Maintainer: yannick Status: ready -->
|
||
<!-- Reviewed: no -->
|
||
<!-- CREDITS: DAnnebicque -->
|
||
<phpdoc:classref xml:id="class.spoofchecker" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||
|
||
<title>La classe Spoofchecker</title>
|
||
<titleabbrev>Spoofchecker</titleabbrev>
|
||
|
||
<partintro>
|
||
|
||
<!-- {{{ Spoofchecker intro -->
|
||
<section xml:id="spoofchecker.intro">
|
||
&reftitle.intro;
|
||
<para>
|
||
Cette classe est fournie car Unicode contient un grand
|
||
nombre de caractères et incorpore les systèmes d'écriture
|
||
variés du monde et leur utilisation incorrecte peut
|
||
exposer des programmes ou des systèmes à d'éventuelles
|
||
attaques de sécurité en utilisant la similarité des caractères.
|
||
</para>
|
||
<para>
|
||
Les méthodes fournies permettent de vérifier si une chaîne individuelle
|
||
est susceptible d'être une tentative à tromper le lecteur
|
||
(<literal>détection de tromperie</literal>),
|
||
tel que dans "pаypаl" orthographié avec un caractère 'а' cyrillique.
|
||
</para>
|
||
</section>
|
||
<!-- }}} -->
|
||
|
||
<section xml:id="spoofchecker.synopsis">
|
||
&reftitle.classsynopsis;
|
||
|
||
<!-- {{{ Synopsis -->
|
||
<classsynopsis>
|
||
<ooclass>
|
||
<classname>Spoofchecker</classname>
|
||
</ooclass>
|
||
|
||
<classsynopsisinfo>
|
||
<ooclass>
|
||
<classname>Spoofchecker</classname>
|
||
</ooclass>
|
||
</classsynopsisinfo>
|
||
|
||
<classsynopsisinfo role="comment">Constants</classsynopsisinfo>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type class="union"><type>int</type><type>float</type></type>
|
||
<varname linkend="spoofchecker.constants.ascii">Spoofchecker::ASCII</varname>
|
||
<initializer>0x10000000</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type class="union"><type>int</type><type>float</type></type>
|
||
<varname linkend="spoofchecker.constants.char-limit">Spoofchecker::HIGHLY_RESTRICTIVE</varname>
|
||
<initializer>0x30000000</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type class="union"><type>int</type><type>float</type></type>
|
||
<varname linkend="spoofchecker.constants.char-limit">Spoofchecker::MODERATELY_RESTRICTIVE</varname>
|
||
<initializer>0x40000000</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type class="union"><type>int</type><type>float</type></type>
|
||
<varname linkend="spoofchecker.constants.char-limit">Spoofchecker::MINIMALLY_RESTRICTIVE</varname>
|
||
<initializer>0x50000000</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type class="union"><type>int</type><type>float</type></type>
|
||
<varname linkend="spoofchecker.constants.char-limit">Spoofchecker::UNRESTRICTIVE</varname>
|
||
<initializer>0x60000000</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type class="union"><type>int</type><type>float</type></type>
|
||
<varname linkend="spoofchecker.constants.char-limit">Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE</varname>
|
||
<initializer>0x20000000</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.single-script-confusable">Spoofchecker::SINGLE_SCRIPT_CONFUSABLE</varname>
|
||
<initializer>1</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.mixed-script-confusable">Spoofchecker::MIXED_SCRIPT_CONFUSABLE</varname>
|
||
<initializer>2</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.whole-script-confusable">Spoofchecker::WHOLE_SCRIPT_CONFUSABLE</varname>
|
||
<initializer>4</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.any-case">Spoofchecker::ANY_CASE</varname>
|
||
<initializer>8</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.single-script">Spoofchecker::SINGLE_SCRIPT</varname>
|
||
<initializer>16</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.invisible">Spoofchecker::INVISIBLE</varname>
|
||
<initializer>32</initializer>
|
||
</fieldsynopsis>
|
||
<fieldsynopsis>
|
||
<modifier>const</modifier>
|
||
<type>int</type>
|
||
<varname linkend="spoofchecker.constants.char-limit">Spoofchecker::CHAR_LIMIT</varname>
|
||
<initializer>64</initializer>
|
||
</fieldsynopsis>
|
||
|
||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spoofchecker')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
|
||
<xi:fallback/>
|
||
</xi:include>
|
||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spoofchecker')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
|
||
<xi:fallback/>
|
||
</xi:include>
|
||
</classsynopsis>
|
||
<!-- }}} -->
|
||
|
||
</section>
|
||
|
||
<!-- {{{ Spoofchecker constants -->
|
||
<section xml:id="spoofchecker.constants">
|
||
&reftitle.constants;
|
||
<variablelist>
|
||
<varlistentry xml:id="spoofchecker.constants.ascii">
|
||
<term><constant>Spoofchecker::ASCII</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.highly-restrictive">
|
||
<term><constant>Spoofchecker::HIGHLY_RESTRICTIVE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.moderately-restrictive">
|
||
<term><constant>Spoofchecker::MODERATELY_RESTRICTIVE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.minimally-restrictive">
|
||
<term><constant>Spoofchecker::MINIMALLY_RESTRICTIVE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.unrestrictive">
|
||
<term><constant>Spoofchecker::UNRESTRICTIVE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.single-script-restrictive">
|
||
<term><constant>Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.single-script-confusable">
|
||
<term><constant>Spoofchecker::SINGLE_SCRIPT_CONFUSABLE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.mixed-script-confusable">
|
||
<term><constant>Spoofchecker::MIXED_SCRIPT_CONFUSABLE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.whole-script-confusable">
|
||
<term><constant>Spoofchecker::WHOLE_SCRIPT_CONFUSABLE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.any-case">
|
||
<term><constant>Spoofchecker::ANY_CASE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.single-script">
|
||
<term><constant>Spoofchecker::SINGLE_SCRIPT</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.invisible">
|
||
<term><constant>Spoofchecker::INVISIBLE</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry xml:id="spoofchecker.constants.char-limit">
|
||
<term><constant>Spoofchecker::CHAR_LIMIT</constant></term>
|
||
<listitem>
|
||
<para/>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
</variablelist>
|
||
</section>
|
||
<!-- }}} -->
|
||
|
||
|
||
<section role="changelog">
|
||
&reftitle.changelog;
|
||
<informaltable>
|
||
<tgroup cols="2">
|
||
<thead>
|
||
<row>
|
||
<entry>&Version;</entry>
|
||
<entry>&Description;</entry>
|
||
</row>
|
||
</thead>
|
||
<tbody>
|
||
<row>
|
||
<entry>7.3.0</entry>
|
||
<entry>
|
||
Les constantes de classe utilisé par <function>Spoofchecker::setRestrictionLevel</function> tel que <constant>Spoofchecker::ASCII</constant>, <constant>Spoofchecker::HIGHLY_RESTRICTIVE</constant>, <constant>Spoofchecker::MODERATELY_RESTRICTIVE</constant>, <constant>Spoofchecker::MINIMALLY_RESTRICTIVE</constant>, <constant>Spoofchecker::UNRESTRICTIVE</constant>, <constant>Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE</constant> ont été ajoutées.
|
||
</entry>
|
||
</row>
|
||
</tbody>
|
||
</tgroup>
|
||
</informaltable>
|
||
</section>
|
||
|
||
|
||
</partintro>
|
||
|
||
&reference.intl.entities.spoofchecker;
|
||
|
||
</phpdoc:classref>
|
||
<!-- Keep this comment at the end of the file
|
||
Local variables:
|
||
mode: sgml
|
||
sgml-omittag:t
|
||
sgml-shorttag:t
|
||
sgml-minimize-attributes:nil
|
||
sgml-always-quote-attributes:t
|
||
sgml-indent-step:1
|
||
sgml-indent-data:t
|
||
indent-tabs-mode:nil
|
||
sgml-parent-document:nil
|
||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||
sgml-exposed-tags:nil
|
||
sgml-local-catalogs:nil
|
||
sgml-local-ecat-files:nil
|
||
End:
|
||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
vim: et tw=78 syn=sgml
|
||
vi: ts=1 sw=1
|
||
-->
|