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

Public Member Functions

 __construct ($aModule)
 
 setAntispamOption ($sOption, $mixedVal)
 
 getAntispamOption ($sOption)
 
 restoreAntispamOptions ()
 
- Public Member Functions inherited from BxDolModuleConfig
 getId ()
 
 getName ()
 
 getClassPrefix ()
 
 getDbPrefix ()
 
 getDirectory ()
 
 getHomePath ()
 
 getClassPath ()
 
 getUri ()
 
 getBaseUri ()
 
 getHomeUrl ()
 

Protected Attributes

 $_aOptionsMap
 
 $_aOptions
 
- Protected Attributes inherited from BxDolModuleConfig
 $_iId
 
 $_sName
 
 $_sVendor
 
 $_sClassPrefix
 
 $_sDbPrefix
 
 $_sDirectory
 
 $_sUri
 
 $_sHomePath
 
 $_sClassPath
 
 $_sHomeUrl
 

Constructor & Destructor Documentation

◆ __construct()

BxAntispamConfig::__construct ( $aModule)

constructor

Reimplemented from BxDolModuleConfig.

Member Function Documentation

◆ getAntispamOption()

BxAntispamConfig::getAntispamOption ( $sOption)

Get an option, local value

◆ restoreAntispamOptions()

BxAntispamConfig::restoreAntispamOptions ( )

set local options values from system options

◆ setAntispamOption()

BxAntispamConfig::setAntispamOption ( $sOption,
$mixedVal )

Set local option value, system value stays intact, useful for testing and debugging

Member Data Documentation

◆ $_aOptions

BxAntispamConfig::$_aOptions
protected
Initial value:
= array (
'antispam_block' => '',
'antispam_report' => '',
'dnsbl_enable' => '',
'uridnsbl_enable' => '',
'dnsbl_behaviour_login' => 'block',
'dnsbl_behaviour_join' => 'approval',
'akismet_enable' => '',
'profanity_enable' => '',
'toxicity_enable' => '',
'toxicity_action' => '',
'toxicity_report' => '',
'lm_enable' => '',
'lm_api_key' => '',
'lm_webhook_secret' => '',
'lm_action' => '',
'lm_report' => '',
'lm_thd_toxicity' => '',
'lm_thd_threat' => '',
'lm_thd_identity_attack' => '',
'lm_thd_profanity' => '',
)

default local options, it is filled in with real system options in class contructor,

See also
restoreAntispamOptions

◆ $_aOptionsMap

BxAntispamConfig::$_aOptionsMap
protected
Initial value:
= array (
'antispam_block' => 'bx_antispam_block',
'antispam_report' => 'bx_antispam_report',
'dnsbl_enable' => 'bx_antispam_dnsbl_enable',
'uridnsbl_enable' => 'bx_antispam_uridnsbl_enable',
'dnsbl_behaviour_login' => 'bx_antispam_dnsbl_behaviour_login',
'dnsbl_behaviour_join' => 'bx_antispam_dnsbl_behaviour_join',
'akismet_enable' => 'bx_antispam_akismet_enable',
'disposable_email_domains_mode' => 'bx_antispam_disposable_email_domains_mode',
'disposable_email_domains_behaviour_join' => 'bx_antispam_disposable_email_domains_behaviour_join',
'profanity_enable' => 'bx_antispam_profanity_filter_enable',
'toxicity_enable' => 'bx_antispam_toxicity_filter_enable',
'toxicity_action' => 'bx_antispam_toxicity_filter_action',
'toxicity_report' => 'bx_antispam_toxicity_filter_report',
'lm_enable' => 'bx_antispam_lasso_moderation_enable',
'lm_api_key' => 'bx_antispam_lasso_moderation_api_key',
'lm_webhook_secret' => 'bx_antispam_lasso_moderation_webhook_secret',
'lm_action' => 'bx_antispam_lasso_moderation_action',
'lm_report' => 'bx_antispam_lasso_moderation_report',
'lm_thd_toxicity' => 'bx_antispam_lasso_moderation_threshold_toxicity',
'lm_thd_threat' => 'bx_antispam_lasso_moderation_threshold_threat',
'lm_thd_identity_attack' => 'bx_antispam_lasso_moderation_threshold_identity_attack',
'lm_thd_profanity' => 'bx_antispam_lasso_moderation_threshold_profanity',
)

map system options to the local options names


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