|
UNA
|
Public Member Functions | |
| __construct (&$aModule) | |
| actionContentChecked () | |
| serviceUpdateDisposableDomainsLists () | |
| serviceIpTable () | |
| serviceDnsblList () | |
| serviceBlockLog () | |
| serviceFilterSpam ($mContent, $sIp='') | |
| serviceIsSpamUrl ($sContent) | |
| serviceIsSpam ($sContent, $sIp='', $isStripSlashes=BX_SLASHES_AUTO) | |
| serviceIsToxic ($sContent, $sIp='', $isStripSlashes=BX_SLASHES_AUTO, $bSupressNotification=false) | |
| serviceCheckFormForToxicity (&$oForm) | |
| serviceIsLastFormSubmittedToxic () | |
| serviceSetCommentAsPending ($iCmtId) | |
| serviceOnFormSubmitted ($sModule, $iEntry, $sAction, &$oForm) | |
| serviceOnToxicContentFound (&$sText) | |
| serviceOnToxicContentPosted ($sModule, $iContentId) | |
| serviceCheckLogin ($sIp='') | |
| serviceCheckJoin ($sEmail, &$bApproval, $sIp='') | |
| serviceIsIpDnsBlacklisted ($sCurIP='', $sNote='') | |
| serviceIsIpWhitelisted ($sIp='') | |
| serviceIsIpBlocked ($sIp='') | |
| serviceBlockIp ($mixedIP, $iExpirationInSec=86400, $sComment='') | |
| servicePruning () | |
| serviceConfigValues ($s) | |
| serviceGetProfanityFilterDicts () | |
| serviceGetToxicityFilterActions () | |
| serviceGetLassoModerationActions () | |
| log ($mixedContents, $sSection='', $sTitle='') | |
| Public Member Functions inherited from BxDolModule | |
| __construct ($aModule) | |
| __get ($sName) | |
| __set ($sName, $o) | |
| isEnabled () | |
| getName () | |
| isLogged () | |
| getUserId () | |
| getUserPassword () | |
| serviceIsSafeService ($s) | |
| serviceGetSafeServices () | |
| serviceIsPublicService ($s) | |
| serviceGetPublicServices () | |
Protected Member Functions | |
| getErrorMessageIpBlocked () | |
| getErrorMessageSpam () | |
| getErrorMessageSubmitFalsePositiveReport () | |
| _grid ($sObjectGrid) | |
Additional Inherited Members | |
| Static Public Member Functions inherited from BxDolModule | |
| static | getInstance ($sName) |
| static | getTitle ($sUri) |
| static | getTitleKey ($sUri) |
| Public Attributes inherited from BxDolModule | |
| $_aModule | |
| BxAntispamModule::serviceBlockIp | ( | $mixedIP, | |
| $iExpirationInSec = 86400, | |||
| $sComment = '' ) |
| BxAntispamModule::serviceCheckJoin | ( | $sEmail, | |
| & | $bApproval, | ||
| $sIp = '' ) |
Perform complex check if user is allowed to join. First it checks if IP is directly blocked (
| $sCurIP | IP to check, or empty for current IP |
| BxAntispamModule::serviceCheckLogin | ( | $sIp = '' | ) |
Perform complex check if user is allowed to login. First it checks if IP is directly blocked (
| $sIp | IP to check, or empty for current IP |
| BxAntispamModule::serviceConfigValues | ( | $s | ) |
| BxAntispamModule::serviceFilterSpam | ( | $mContent, | |
| $sIp = '' ) |
Filter undesired words
| $sContent | content to filter |
| $sIp | IP address of content poster |
| BxAntispamModule::serviceGetLassoModerationActions | ( | ) |
| BxAntispamModule::serviceGetProfanityFilterDicts | ( | ) |
| BxAntispamModule::serviceGetToxicityFilterActions | ( | ) |
| BxAntispamModule::serviceIsIpBlocked | ( | $sIp = '' | ) |
| BxAntispamModule::serviceIsIpDnsBlacklisted | ( | $sCurIP = '', | |
| $sNote = '' ) |
Check if IP is blacklisted in some DNS chain (
| $sCurIP | IP to check, or empty for current IP |
| $sNote | [optional] place where checking is performed, for example 'join', 'login' |
| BxAntispamModule::serviceIsIpWhitelisted | ( | $sIp = '' | ) |
| BxAntispamModule::serviceIsSpam | ( | $sContent, | |
| $sIp = '', | |||
| $isStripSlashes = BX_SLASHES_AUTO ) |
Check text for spam. First it check if IP is whitelisted(or under cron execution or user is admin) - for whitelisted IPs check for spam isn't performed, then it checks URLs found in text for DNSURI black lists (
| $sContent | content to check for spam |
| $sIp | IP address of content poster |
| $isStripSlashes | slashes parameter: BX_SLASHES_AUTO - automatically detect magic_quotes_gpc setting BX_SLASHES_NO_ACTION - do not perform any action with slashes |
| BxAntispamModule::serviceIsSpamUrl | ( | $sContent | ) |
Check text for spam URL. It checks URLs found in text for DNSURI black lists (
| $sContent | content to check for spam |
| BxAntispamModule::serviceIsToxic | ( | $sContent, | |
| $sIp = '', | |||
| $isStripSlashes = BX_SLASHES_AUTO, | |||
| $bSupressNotification = false ) |
Check text for toxicity. It can send report if toxic content is found or tries to inform caller to block the content (depending on configuration).
| $sContent | content to check for spam |
| $sIp | IP address of content poster |
| $isStripSlashes | slashes parameter: BX_SLASHES_AUTO - automatically detect magic_quotes_gpc setting BX_SLASHES_NO_ACTION - do not perform any action with slashes |
| BxAntispamModule::servicePruning | ( | ) |