Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/tool/spamcleaner/index.php File Reference

Go to the source code of this file.

Functions

 search_spammers ($keywords)
 Functions.
 print_user_list ($users_rs, $keywords)
 filter_user ($user, $keywords, $count)
 print_user_entry ($user, $keywords, $count)

Variables

 $autokeywords
 $keyword = optional_param('keyword', '', PARAM_RAW)
 $autodetect = optional_param('autodetect', '', PARAM_RAW)
 $del = optional_param('del', '', PARAM_RAW)
 $delall = optional_param('delall', '', PARAM_RAW)
 $ignore = optional_param('ignore', '', PARAM_RAW)
 $reset = optional_param('reset', '', PARAM_RAW)
 $id = optional_param('id', '', PARAM_INT)
 $strings = Array('spaminvalidresult','spamdeleteallconfirm','spamcannotdelete','spamdeleteconfirm')
if(!empty($keyword)) else if (!empty($autodetect))

Function Documentation

filter_user ( user,
keywords,
count 
)

Definition at line 239 of file index.php.

Here is the call graph for this function:

Here is the caller graph for this function:

print_user_entry ( user,
keywords,
count 
)

Definition at line 285 of file index.php.

Here is the call graph for this function:

Here is the caller graph for this function:

print_user_list ( users_rs,
keywords 
)

Definition at line 212 of file index.php.

Here is the call graph for this function:

Here is the caller graph for this function:

search_spammers ( keywords)

Functions.

Definition at line 143 of file index.php.

Here is the call graph for this function:


Variable Documentation

$autodetect = optional_param('autodetect', '', PARAM_RAW)

Definition at line 35 of file index.php.

$autokeywords
Initial value:
 array(
                    "<img",
                    "fuck",
                    "casino",
                    "porn",
                    "xxx",
                    "cialis",
                    "viagra",
                    "poker",
                    "warcraft"
                )

Spam Cleaner

Helps an admin to clean up spam in Moodle

Authors:
Dongsheng Cai, Martin Dougiamas, Amr Hourani http://www.gnu.org/copyleft/gpl.html GNU Public License

Definition at line 22 of file index.php.

$del = optional_param('del', '', PARAM_RAW)

Definition at line 36 of file index.php.

$delall = optional_param('delall', '', PARAM_RAW)

Definition at line 37 of file index.php.

Definition at line 40 of file index.php.

$ignore = optional_param('ignore', '', PARAM_RAW)

Definition at line 38 of file index.php.

$keyword = optional_param('keyword', '', PARAM_RAW)

Definition at line 34 of file index.php.

$reset = optional_param('reset', '', PARAM_RAW)

Definition at line 39 of file index.php.

$strings = Array('spaminvalidresult','spamdeleteallconfirm','spamcannotdelete','spamdeleteconfirm')

Definition at line 83 of file index.php.

if (!empty($keyword)) else if(!empty($autodetect))

Definition at line 131 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations