small improvements

This commit is contained in:
kremsy
2014-02-06 22:51:32 +01:00
committed by Steffen Schröder
parent c38f6011b8
commit 08e8cd3432
2 changed files with 36 additions and 28 deletions

View File

@ -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;