added statisticcollector class
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
<?php
|
||||
use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Players\Player;
|
||||
use ManiaControl\Statistics\StatisticCollector;
|
||||
|
||||
require_once __DIR__ . '/StatisticCollector.php';
|
||||
|
||||
/**
|
||||
* Statistic Manager Class
|
||||
@ -18,6 +21,11 @@ class StatisticManager {
|
||||
|
||||
const STAT_TYPE_INT = '0';
|
||||
|
||||
/**
|
||||
* Public Properties
|
||||
*/
|
||||
public $statisticCollector = null;
|
||||
|
||||
/**
|
||||
* Private Properties
|
||||
*/
|
||||
@ -35,6 +43,8 @@ class StatisticManager {
|
||||
$this->mysqli = $this->maniaControl->database->mysqli;
|
||||
$this->initTables();
|
||||
|
||||
$this->statisticCollector = new StatisticCollector($maniaControl);
|
||||
|
||||
//Store Stats MetaData
|
||||
$this->storeStatMetaData();
|
||||
}
|
||||
|
Reference in New Issue
Block a user