23 if($argsConfig->check_trackback!=
'Y') $argsConfig->check_trackback =
'N';
24 if($argsConfig->limits!=
'Y') $argsConfig->limits =
'N';
27 $moduleConfigOutput =
$oModuleController->insertModuleConfig(
'spamfilter',$argsConfig);
28 if(!$moduleConfigOutput->toBool())
return $moduleConfigOutput;
41 $output = $oSpamfilterController->insertIP($ipaddress_list);
76 if($ipAddressList) $this->
deleteIP($ipAddressList);
104 if(!$ipaddress)
return;
106 $args =
new stdClass;
107 $args->ipaddress = $ipaddress;
118 $word_list = str_replace(
"\r",
"",$word_list);
119 $word_list = explode(
"\n",$word_list);
121 foreach($word_list as $word)
123 if(!preg_match(
"/^(.{2,40}[\r\n]+)*.{2,40}$/", $word))
130 foreach($word_list as $word)
132 $args =
new stdClass;
133 if(trim($word))
$args->word = $word;
135 if(!
$output->toBool()) $fail_word .= $word.
'<br />';
137 $output->add(
'fail_list',$fail_word);
148 $args =
new stdClass;
setMessage($message= 'success', $type=NULL)
getController($module_name)
procSpamfilterAdminDeleteDeniedWord()
Delete the prohibited Word.
The parent class of the spamfilter module.
insertWord($word_list)
Register the spam word The post, which contains the newly registered spam word, should be considered ...
procSpamfilterAdminInsertDeniedIP()
procSpamfilterAdminInsertConfig()
setRedirectUrl($url= './', $output=NULL)
deleteWord($word)
Remove the spam word Remove the word which was previously registered as a spam word.
procSpamfilterAdminDeleteDeniedIP()
Delete the banned IP.
deleteIP($ipaddress)
Delete IP Remove the IP address which was previously registered as a spammers.
The admin controller class of the spamfilter module.
executeQuery($query_id, $args=NULL, $arg_columns=NULL)
procSpamfilterAdminInsertDeniedWord()