Source for file EtChatConfig.class.php

Documentation is available at EtChatConfig.class.php

  1. <?php
  2. /**
  3.  * Abstract Class EtChatConfig contains vars for inheritance
  4.  *
  5.  * LICENSE: CREATIVE COMMONS PUBLIC LICENSE  "Namensnennung — Nicht-kommerziell 2.0"
  6.  *
  7.  * @copyright  2009 <SEDesign />
  8.  * @license    http://creativecommons.org/licenses/by-nc/2.0/de/
  9.  * @version    $3.0.7$
  10.  * @link       http://www.sedesign.de/de_produkte_chat-v3.html
  11.  * @since      File available since Alpha 1.0
  12.  */
  13.  
  14. abstract class EtChatConfig
  15. {
  16.     protected $_database;
  17.     protected $_sqlhost;
  18.     protected $_sqluser;
  19.     protected $_sqlpass;
  20.     
  21.     protected $_prefix;
  22.     
  23.     protected $_usedDatabase;
  24.     protected $_usedDatabaseExtension;
  25.  
  26.     protected $_messages_shown_on_entrance;
  27.     protected $_allowed_privates_in_chat_win;
  28.     protected $_show_history_all_user;
  29.     protected $_interval_for_inactivity;
  30.  
  31.     protected $_allow_nick_registration;
  32.     
  33.     /**
  34.     * Constructor
  35.     *
  36.     * @return void 
  37.     */
  38.     protected function __construct (){
  39.     
  40.         error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
  41.         
  42.         // Require the config.php
  43.         if (isset($GLOBALS["path"]))
  44.             require ($GLOBALS["path"].'config.php');
  45.         else 
  46.             require ('./config.php');
  47.  
  48.         
  49.         $this->_database=$database;
  50.         $this->_sqlhost=$sqlhost;
  51.         $this->_sqluser=$sqluser;
  52.         $this->_sqlpass=$sqlpass;
  53.         $this->_prefix=$prefix;
  54.         $this->_usedDatabase=$usedDatabaseType;
  55.         $this->_usedDatabaseExtension=$usedDatabaseExtension;
  56.         $this->_messages_shown_on_entrance=$messages_shown_on_entrance;
  57.         $this->_limit_logins_in_three_minutes=$limit_logins_in_three_minutes;
  58.         $this->_allowed_privates_in_chat_win=$allowed_privates_in_chat_win;
  59.         $this->_allowed_privates_in_separate_win=$allowed_privates_in_separate_win;
  60.         $this->_show_history_all_user=$show_history_all_user;
  61.         $this->_interval_for_inactivity=$interval_for_inactivity;
  62.         $this->_allow_nick_registration=$allow_nick_registration;
  63.     }
  64. }

Documentation generated on Thu, 05 May 2011 14:05:56 +0000 by phpDocumentor 1.4.3