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.6$
  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.     
  28.     /**
  29.     * Constructor
  30.     *
  31.     * @return void 
  32.     */
  33.     protected function __construct (){
  34.     
  35.         error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
  36.         
  37.         // Require the config.php
  38.         if (isset($GLOBALS["path"]))
  39.             require ($GLOBALS["path"].'config.php');
  40.         else 
  41.             require ('./config.php');
  42.  
  43.         
  44.         $this->_database=$database;
  45.         $this->_sqlhost=$sqlhost;
  46.         $this->_sqluser=$sqluser;
  47.         $this->_sqlpass=$sqlpass;
  48.         $this->_prefix=$prefix;
  49.         $this->_usedDatabase=$usedDatabaseType;
  50.         $this->_usedDatabaseExtension=$usedDatabaseExtension;
  51.         $this->_messages_shown_on_entrance=$messages_shown_on_entrance;
  52.         $this->_limit_logins_in_three_minutes=$limit_logins_in_three_minutes;
  53.     }
  54. }

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