Class Blacklist

(line 14)

Description

EtChatConfig
   |
   --Blacklist

Located in File: /Blacklist.class.php

Class Blacklist checks if the user is allowed to be in the chat and inserts the user to the blacklist

LICENSE: CREATIVE COMMONS PUBLIC LICENSE "Namensnennung — Nicht-kommerziell 2.0"



Class Variables

Summary:

$dbObj (line 20)

Data type : ConnectDB

DB-Connection Obj
  • access: - private

$user_bann_time (line 32)

Data type : String

Time until the user is banned
  • access: - public

$user_param_all (line 26)

Data type : String

User IP Key
  • access: - public

Class Constants

Summary:

Method Detail

Summary:
void __construct ( $dbObj, ConnectDB $dbObj,)
bool insertUser (int $userID,  $time, int $time,)
void killUserSession ()
bool userInBlacklist ()

Constructor __construct (line 40)

void __construct( $dbObj, ConnectDB $dbObj,)

Overrides : EtChatConfig::__construct() Constructor

Constructor

Parameters

  • ConnectDB $dbObj,: Obj with the db connection handler
  • $dbObj:

Info

  • access - public

Method allowedToAndSetCookie (line 81)

bool allowedToAndSetCookie( )

AllowedToAndSetCookie, return true if done

Info

Method insertUser (line 101)

bool insertUser( int $userID, $time, int $time,)

insertUser into the blacklist table

Parameters

  • int $userID:
  • int $time,: Unix time
  • $time:

Info

Method killUserSession (line 117)

void killUserSession( )

killUserSession, if the user is in blacklist

Info

Method userInBlacklist (line 56)

bool userInBlacklist( )

UserInBlacklist, checks if the curent user IP in zhe Blacklist or has the user browser an actual "black cookie"

Info

Inherited Variables

Inherited Class Variable Summary

Inherited From Class EtChatConfig

EtChatConfig::$_database -

EtChatConfig::$_limit_logins_in_three_minutes -

EtChatConfig::$_messages_shown_on_entrance -

EtChatConfig::$_prefix -

EtChatConfig::$_sqlhost -

EtChatConfig::$_sqlpass -

EtChatConfig::$_sqluser -

EtChatConfig::$_usedDatabase -

EtChatConfig::$_usedDatabaseExtension -

Inherited Methods

Inherited Method Summary

Inherited From Class EtChatConfig

EtChatConfig::__construct() - Constructor



Documentation generated on Tue, 22 Dec 2009 09:42:45 +0100 by phpDocumentor 1.4.1