|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- $Revision$ --> |
| 3 | +<refentry xml:id="spoofchecker.setrestrictionlevel" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 | + <refnamediv> |
| 5 | + <refname>Spoofchecker::setRestrictionLevel</refname> |
| 6 | + <refpurpose>Set the restriction level</refpurpose> |
| 7 | + </refnamediv> |
| 8 | + |
| 9 | + <refsect1 role="description"> |
| 10 | + &reftitle.description; |
| 11 | + <methodsynopsis role="Spoofchecker"> |
| 12 | + <modifier>public</modifier> <type>void</type><methodname>Spoofchecker::setRestrictionLevel</methodname> |
| 13 | + <methodparam><type>int</type><parameter>restrictionLevel</parameter></methodparam> |
| 14 | + </methodsynopsis> |
| 15 | + <para> |
| 16 | + Sets the restriction level of <methodname>SpoofChecker::isSuspicious</methodname>. |
| 17 | + </para> |
| 18 | + </refsect1> |
| 19 | + |
| 20 | + <refsect1 role="parameters"> |
| 21 | + &reftitle.parameters; |
| 22 | + <variablelist> |
| 23 | + <varlistentry> |
| 24 | + <term><parameter>restrictionLevel</parameter></term> |
| 25 | + <listitem> |
| 26 | + <para> |
| 27 | + The restriction level of <methodname>SpoofChecker::isSuspicious</methodname>. |
| 28 | + One of |
| 29 | + <constant>Spoofchecker::ASCII</constant>, |
| 30 | + <constant>Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE</constant>, |
| 31 | + <constant>Spoofchecker::HIGHLY_RESTRICTIVE</constant>, |
| 32 | + <constant>Spoofchecker::MODERATELY_RESTRICTIVE</constant>, |
| 33 | + <constant>Spoofchecker::MINIMALLY_RESTRICTIVE</constant>, or |
| 34 | + <constant>Spoofchecker::UNRESTRICTIVE</constant>. |
| 35 | + Defaults to <constant>Spoofchecker::HIGHLY_RESTRICTIVE</constant>. |
| 36 | + </para> |
| 37 | + </listitem> |
| 38 | + </varlistentry> |
| 39 | + </variablelist> |
| 40 | + </refsect1> |
| 41 | + |
| 42 | + <refsect1 role="returnvalues"> |
| 43 | + &reftitle.returnvalues; |
| 44 | + <para> |
| 45 | + &return.void; |
| 46 | + </para> |
| 47 | + </refsect1> |
| 48 | + |
| 49 | + |
| 50 | +</refentry> |
| 51 | +<!-- Keep this comment at the end of the file |
| 52 | +Local variables: |
| 53 | +mode: sgml |
| 54 | +sgml-omittag:t |
| 55 | +sgml-shorttag:t |
| 56 | +sgml-minimize-attributes:nil |
| 57 | +sgml-always-quote-attributes:t |
| 58 | +sgml-indent-step:1 |
| 59 | +sgml-indent-data:t |
| 60 | +indent-tabs-mode:nil |
| 61 | +sgml-parent-document:nil |
| 62 | +sgml-default-dtd-file:"~/.phpdoc/manual.ced" |
| 63 | +sgml-exposed-tags:nil |
| 64 | +sgml-local-catalogs:nil |
| 65 | +sgml-local-ecat-files:nil |
| 66 | +End: |
| 67 | +vim600: syn=xml fen fdm=syntax fdl=2 si |
| 68 | +vim: et tw=78 syn=sgml |
| 69 | +vi: ts=1 sw=1 |
| 70 | +--> |
0 commit comments