Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_core_StopSpammer
  • Overview
  • Package
  • Class

Class icms_core_StopSpammer

Checks usernames, emails and ip addresses against a blacklist

Package: Core\StopSpammer
Category: ICMS
Copyright: http://www.impresscms.org/ The ImpressCMS Project
License: GNU General Public License (GPL)
Author: marcan marcan@impresscms.org
Author: Sina Asghari (aka stranger) pesian_stranger@users.sourceforge.net
Located at core/StopSpammer.php
Methods summary
public
# __construct( )

Constructor

Constructor

public true
# checkForField( string $field, string $value )

Check the StopForumSpam API for a specific field (username, email or IP)

Check the StopForumSpam API for a specific field (username, email or IP)

Parameters

$field
field to check
$value
value to validate

Returns

true
if spammer was found with passed info
public true
# badUsername( string $username )

Check the StopForumSpam API for specified username

Check the StopForumSpam API for specified username

Parameters

$username
username to check

Returns

true
if spammer was found with this username
public true
# badEmail( string $email )

Check the StopForumSpam API for specified email

Check the StopForumSpam API for specified email

Parameters

$email
email to check

Returns

true
if spammer was found with this email
public true
# badIP( string $ip )

Check the StopForumSpam API for specified IP

Check the StopForumSpam API for specified IP

Parameters

$ip
ip to check

Returns

true
if spammer was found with this IP
API documentation generated by ApiGen