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

Public Member Functions

 isSpammer ($aValues, $sDesc)
 
 submitSpammer ($aValues, $sEvidences=false)
 
 onPositiveDetection ($sExtraData='')
 

Protected Attributes

 $_aKeys
 

Detailed Description

Spam detection based on email and ip powered by StopForumSpam service - http://www.stopforumspam.com/

Constructor & Destructor Documentation

◆ __construct()

BxAntispamStopForumSpam::__construct ( )

Reimplemented from BxDol.

Member Function Documentation

◆ isSpammer()

BxAntispamStopForumSpam::isSpammer ( $aValues,
$sDesc )

Check if user is spammer

Parameters
$aValues- array with keys: ip, email, username
$sDesc- desctiption, for example: join
Returns
true - on positive detection, false - on error or no spammer detection

◆ submitSpammer()

BxAntispamStopForumSpam::submitSpammer ( $aValues,
$sEvidences = false )

Submit spammer

Parameters

aValues - array with keys: ip, email, username

Returns
false - on error, or true - on success

Member Data Documentation

◆ $_aKeys

BxAntispamStopForumSpam::$_aKeys
protected
Initial value:
= array (
'ip' => 1,
'email' => 1,
'username' => 1,
)

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