reference/intl/spoofchecker/setchecks.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="spoofchecker.setchecks" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Spoofchecker::setChecks</refname>
...
...
@@ -9,16 +8,13 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="Spoofchecker">
13
12
<modifier>public</modifier> <type>void</type><methodname>Spoofchecker::setChecks</methodname>
14
-
<methodparam><type>long</type><parameter>checks</parameter></methodparam>
13
+
<methodparam><type>int</type><parameter>checks</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
-

16
+
Sets the checks that will be performed by <methodname>SpoofChecker::isSuspicious</methodname>.
18
17
</para>
19
-

20
-
&warn.undocumented.func;
21
-

22
18
</refsect1>
23
19

24
20
<refsect1 role="parameters">
...
...
@@ -28,7 +24,17 @@
28
24
<term><parameter>checks</parameter></term>
29
25
<listitem>
30
26
<para>
31
-
27
+
The checks that will be performed by <methodname>SpoofChecker::isSuspicious</methodname>.
28
+
A bitmask of
29
+
<constant>Spoofchecker::SINGLE_SCRIPT_CONFUSABLE</constant>,
30
+
<constant>Spoofchecker::MIXED_SCRIPT_CONFUSABLE</constant>,
31
+
<constant>Spoofchecker::WHOLE_SCRIPT_CONFUSABLE</constant>,
32
+
<constant>Spoofchecker::ANY_CASE</constant>,
33
+
<constant>Spoofchecker::SINGLE_SCRIPT</constant>,
34
+
<constant>Spoofchecker::INVISIBLE</constant>, or
35
+
<constant>Spoofchecker::CHAR_LIMIT</constant>.
36
+
Defaults to all checks as of ICU 58; prior to that version,
37
+
<constant>Spoofchecker::SINGLE_SCRIPT</constant> was excluded.
32
38
</para>
33
39
</listitem>
34
40
</varlistentry>
...
...
@@ -38,13 +44,12 @@
38
44
<refsect1 role="returnvalues">
39
45
&reftitle.returnvalues;
40
46
<para>
41
-

47
+
&return.void;
42
48
</para>
43
49
</refsect1>
44
50

45
51

46
52
</refentry>
47
-

48
53
<!-- Keep this comment at the end of the file
49
54
Local variables:
50
55
mode: sgml
51
56