summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorSebastian Wagner2011-11-16 16:26:13 +0100
committerSebastian Wagner2011-11-16 16:26:13 +0100
commit0447f20f91dc54d7989bea2d303b15de4ebc88b2 (patch)
treee7840a4113346fd0d326b45580ab2075596ed8c1 /application/controllers
parentmore clean up (diff)
downloadpoolctrl-0447f20f91dc54d7989bea2d303b15de4ebc88b2.tar.gz
poolctrl-0447f20f91dc54d7989bea2d303b15de4ebc88b2.tar.xz
poolctrl-0447f20f91dc54d7989bea2d303b15de4ebc88b2.zip
some js outsourced
Diffstat (limited to 'application/controllers')
-rwxr-xr-xapplication/controllers/StatisticsController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/StatisticsController.php b/application/controllers/StatisticsController.php
index b98acf4..66141c8 100755
--- a/application/controllers/StatisticsController.php
+++ b/application/controllers/StatisticsController.php
@@ -56,7 +56,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventMapper->getCategoryPlotdata($poolID, 1);
$ret['dataPie'] = $this->eventMapper->getCategoryPlotdata($poolID, 2);
$ret['color'] = $this->eventcategoryMapper->getCategoryColor($poolID, null);
@@ -80,7 +80,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventMapper->getRunningPlotdata($poolID, 1);
$ret['dataPie'] = $this->eventMapper->getRunningPlotdata($poolID, 2);
@@ -103,7 +103,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventreportMapper->getSuccessPlotdata($poolID, 1);
$ret['dataPieS'] = $this->eventreportMapper->getSuccessPlotdata($poolID, 2);
@@ -126,7 +126,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventMapper->getTypePlotdata($poolID, 1);
$ret['dataPie'] = $this->eventMapper->getTypePlotdata($poolID, 2);