Spoofchecker::setRestrictionLevel

Set the restriction level

Description

public void Spoofchecker::setRestrictionLevel(int $level)

Sets the restriction level of SpoofChecker::isSuspicious.

Parameters

level

The restriction level of SpoofChecker::isSuspicious. One of Spoofchecker::ASCII, Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE, Spoofchecker::HIGHLY_RESTRICTIVE, Spoofchecker::MODERATELY_RESTRICTIVE, Spoofchecker::MINIMALLY_RESTRICTIVE, or Spoofchecker::UNRESTRICTIVE. Defaults to Spoofchecker::HIGHLY_RESTRICTIVE.

Return Values

No value is returned.