Example #1
0
 /**
  * Main Constructor
  *
  * @access	public
  * @return	void
  */
 public function __construct()
 {
     global $wgRequest;
     $this->DB = wfGetDB(DB_SLAVE);
     $this->parameters = new Parameters();
     $this->logger = new Logger($this->parameters->getData('debug')['default']);
     $this->tableNames = Query::getTableNames();
     $this->wgRequest = $wgRequest;
 }