Class UserCheckerAndInserter

(line 14)

Description

EtChatConfig
   |
   --UserCheckerAndInserter

Located in File: /UserCheckerAndInserter.class.php

Class UserCheckerAndInserter, checks the user and insert him/her to db, if possible

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



Class Variables

Summary:
string $status
string $_gender
string $_pw
string $_user

$dbObj (line 20)

Data type : ConnectDB

DB-Connection Obj
  • access: - private

$status (line 56)

Data type : string

this var is a status var and will be occupied with different values in subjection of needs, so it can get value "1" for ok, or just an other error message

$_gender (line 44)

Data type : string

user sex
  • access: - protected

$_lang (line 50)

Data type : XMLParser

XMLParser Obj
  • access: - protected

$_pw (line 38)

Data type : string

user pw
  • access: - protected

$_user (line 32)

Data type : string

user name
  • access: - protected

$_user_exists (line 26)

Data type : array

array with all user data
  • access: - protected

Class Constants

Summary:

Method Detail

Summary:
void __construct ( $dbObj, array $user_exists, string $user, string $pw, string $gender, XMLParser $lang, ConnectDB $dbObj,)
void createNewUser ()
void userWithoutPw ()
void userWithPw ()

Constructor __construct (line 70)

void __construct( $dbObj, array $user_exists, string $user, string $pw, string $gender, XMLParser $lang, ConnectDB $dbObj,)

Overrides : EtChatConfig::__construct() Constructor

Constructor

Parameters

  • ConnectDB $dbObj,: Obj with the db connection handler
  • array $user_exists:
  • string $user:
  • string $pw:
  • string $gender:
  • XMLParser $lang:
  • $dbObj:

Info

Method createNewUser (line 105)

void createNewUser( )

CreateNewUser, if there is no such user name in user tab, creates a new dataset

Info

Method userWithoutPw (line 137)

void userWithoutPw( )

UserWithoutPw, this user has a pw in db, so the status is "pw" to make a invitation in login-form to insert a pw

Info

  • access - private

Method userWithPw (line 119)

void userWithPw( )

UserWithPw, user name and user pw were committed from login form

Info

  • access - private

Inherited Variables

Inherited Class Variable Summary

Inherited From Class EtChatConfig

EtChatConfig::$_allowed_privates_in_chat_win -

EtChatConfig::$_allowed_privates_in_separate_win -

EtChatConfig::$_allow_nick_registration -

EtChatConfig::$_database -

EtChatConfig::$_interval_for_inactivity -

EtChatConfig::$_limit_logins_in_three_minutes -

EtChatConfig::$_messages_shown_on_entrance -

EtChatConfig::$_prefix -

EtChatConfig::$_show_history_all_user -

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 Thu, 05 May 2011 14:05:59 +0000 by phpDocumentor 1.4.3