summaryrefslogtreecommitdiffstats
path: root/application/controllers/StatisticsController.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-11-14 17:51:28 +0100
committerBjörn Geiger2011-11-14 17:51:28 +0100
commit09389b149c05033f14708d7535dee851f3fce0d8 (patch)
treebe58c80945a5f04ece619c49d40b71e71425feab /application/controllers/StatisticsController.php
parenttest (diff)
downloadpoolctrl-09389b149c05033f14708d7535dee851f3fce0d8.tar.gz
poolctrl-09389b149c05033f14708d7535dee851f3fce0d8.tar.xz
poolctrl-09389b149c05033f14708d7535dee851f3fce0d8.zip
EventController Cleaning: API in eigene Klasse ausgelagert
Diffstat (limited to 'application/controllers/StatisticsController.php')
-rwxr-xr-xapplication/controllers/StatisticsController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/StatisticsController.php b/application/controllers/StatisticsController.php
index 7416ec5..5bf798e 100755
--- a/application/controllers/StatisticsController.php
+++ b/application/controllers/StatisticsController.php
@@ -3,6 +3,7 @@ class StatisticsController extends Zend_Controller_Action
{
protected $config;
protected $pbs2host;
+ protected $pbs2Api;
protected $eventMapper;
protected $eventcategoryMapper;
protected $eventreportMapper;
@@ -14,6 +15,7 @@ class StatisticsController extends Zend_Controller_Action
$bootstrap = $this->getInvokeArg('bootstrap');
$this->config = $bootstrap->getOptions();
$this->pbs2host = $this->config['pbs2']['host'];
+ $this->pbs2Api = new Poolctrl_Pbs2Api($this->config);
$this->eventMapper = new Application_Model_EventMapper();
$this->eventcategoryMapper = new Application_Model_EventcategoryMapper();
$this->eventreportMapper = new Application_Model_EventreportMapper();