Source for file AfterSpamlistInsertion.class.php

Documentation is available at AfterSpamlistInsertion.class.php

  1. <?php
  2. /**
  3.  * Class AfterSpamlistInsertion, shows the page after the user is inserted into the blacklist bavouse of spam
  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. {
  15.  
  16.     /**
  17.     * Constructor
  18.     *
  19.     * @uses ConnectDB::close()
  20.     * @uses LangXml object creation
  21.     * @uses LangXml::getLang() parser method
  22.     * @return void 
  23.     */
  24.     public function __construct ()
  25.         
  26.         // call parent Constructor from class DbConectionMaker
  27.         parent::__construct()
  28.  
  29.         session_start();
  30.  
  31.         header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0');
  32.         
  33.         $this->configTabData2Session();
  34.         
  35.         $this->dbObj->close();
  36.         
  37.         // create new LangXml Object
  38.         $langObj = new LangXml();
  39.         $lang=$langObj->getLang()->admin[0]->spam[0];
  40.         
  41.         // initialize template
  42.         $this->initTemplate($lang);
  43.     }
  44.     
  45.     /**
  46.     * Initializer for template
  47.     *
  48.     * @return void 
  49.     */
  50.     private function initTemplate($lang){
  51.         // Include Template
  52.         include_once("styles/".$_SESSION['etchat_'.$this->_prefix.'style']."/spamlisted.tpl.html");
  53.     }
  54. }

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