File: Spoofchecker.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (75 lines) | stat: -rw-r--r-- 2,724 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Spoofchecker" namespace="" name="Spoofchecker">
  <constant name="SINGLE_SCRIPT_CONFUSABLE" value="1">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="MIXED_SCRIPT_CONFUSABLE" value="2">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="WHOLE_SCRIPT_CONFUSABLE" value="4">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ANY_CASE" value="8">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="SINGLE_SCRIPT" value="16">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="INVISIBLE" value="32">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="CHAR_LIMIT" value="64">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <method name="areConfusable" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Checks if given strings can be confused"/>
      <return type="bool"/>
    </docblock>
    <parameter name="str1" optional="false" byreference="false" type="string"/>
    <parameter name="str2" optional="false" byreference="false" type="string"/>
    <parameter name="error" optional="true" byreference="false" type="string"/>
  </method>
  <constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Constructor"/>
      <return type="void"/>
    </docblock>
  </constructor>
  <method name="isSuspicious" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Checks if a given text contains any suspicious characters"/>
      <return type="bool"/>
    </docblock>
    <parameter name="text" optional="false" byreference="false" type="string"/>
    <parameter name="error" optional="true" byreference="false" type="string"/>
  </method>
  <method name="setAllowedLocales" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Locales to use when running checks"/>
      <return type="void"/>
    </docblock>
    <parameter name="locale_list" optional="false" byreference="false" type="string"/>
  </method>
  <method name="setChecks" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Set the checks to run"/>
      <return type="void"/>
    </docblock>
    <parameter name="checks" optional="false" byreference="false" type="int"/>
  </method>
</class>