UNA
Loading...
Searching...
No Matches
BxAntispamProfanityFilter Class Reference
Inheritance diagram for BxAntispamProfanityFilter:
BxDol

Public Member Functions

 censor ($mValue)
 
 getDicts ()
 

Protected Attributes

 $oProfanityFilter = null
 
 $sPluginPath = BX_DIRECTORY_PATH_PLUGINS . 'snipe/banbuilder/src/'
 

Detailed Description

Profanity Filter based on https://github.com/snipe/banbuilder Need change str_ireplace(array_keys($leet_replace), array_values($leet_replace), $badwords[$x]) . '/i' to str_ireplace(array_keys($leet_replace), array_values($leet_replace), $badwords[$x]) . '/iu' in CensorWords.php

Constructor & Destructor Documentation

◆ __construct()

BxAntispamProfanityFilter::__construct ( )

Reimplemented from BxDol.


The documentation for this class was generated from the following file: