Class ReloaderUserOnline

(line 14)

Description

EtChatConfig
   |
   --DbConectionMaker
      |
      --ReloaderUserOnline

Located in File: /ReloaderUserOnline.class.php

Class ReloaderUserOnline, generate userOnline-JSON

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



Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:
void __construct ()
bool anyChangesSinceLastPolling (array $feld, array $roomarray)
bool checkIfUserJustInserted (array $feld)
void errorOutput ([string $message = 0])
void makeJsonOutput (array $feld, array $roomarray)

Constructor __construct (line 24)

void __construct( )

Overrides : DbConectionMaker::__construct() Constructor

Constructor

Info

Method anyChangesSinceLastPolling (line 82)

bool anyChangesSinceLastPolling( array $feld, array $roomarray)

Checks if there where any changes since the last request of this document

Parameters

  • array $feld: Dataset from etchat_useronline
  • array $roomarray: Dataset from etchat_rooms if there any empty rooms

Info

  • access - private

Method checkIfUserJustInserted (line 111)

bool checkIfUserJustInserted( array $feld)

Checks if the user is actualy in the DB - etchat_useronline - session table

Parameters

  • array $feld: Dataset from etchat_useronline

Info

  • access - private

Method errorOutput (line 129)

void errorOutput( [string $message = 0])

Print a error message, and close db connect

Parameters

  • string $message: Outputmessage, usualy "0" (if any error)

Info

Method makeJsonOutput (line 143)

void makeJsonOutput( array $feld, array $roomarray)

Send a JSON Message at chat.js, and close db connect

Parameters

  • array $feld: Dataset from etchat_useronline Tab
  • array $roomarray: dataset from etchat_rooms Tab contains just all empty room.

Info

Inherited Variables

Inherited Class Variable Summary

Inherited From Class DbConectionMaker

DbConectionMaker::$dbObj - Database connection obj for all inherited classes

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 DbConectionMaker

DbConectionMaker::__construct() - Constructor

DbConectionMaker::configTabData2Session() - Sets the session vars in the chatsession from the etchat_config table this function has only be run once at the beginning to get all needed params to the user session.


Inherited From Class EtChatConfig

EtChatConfig::__construct() - Constructor



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