small improvements

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:13 +02:00
1 parent c38f6011b8
commit 08e8cd3432
2 files changed
+36 -28

No files matched your search

@@ -90,6 +90,14 @@ class SimpleStatsList implements ManialinkPageAnswerListener, CallbackListener,
}
/**
* Register a Certain Stat
* @param $statName
* @param $order
* @param $headShortCut
* @param int $width
* @param string $format
*/
public function registerStat($statName, $order, $headShortCut, $width = 10, $format = StatisticManager::STAT_TYPE_INT) {
$this->statArray[$order] = array();
$this->statArray[$order]["Name"] = $statName;