From 1b717d12f34785ef2e43d2f77c55995100382a84 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 9 Mar 2016 23:11:51 +0100 Subject: [PATCH] Doc + Mapper::class implementation --- Controller.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Controller.php b/Controller.php index 46a2e2c..e205959 100644 --- a/Controller.php +++ b/Controller.php @@ -314,4 +314,11 @@ class Controller extends ModuleAbstract implements WebInterface return $view; } + public function apiAccountList(RequestAbstract $request, ResponseAbstract $response, $data = null) + { + // todo: instead of returning dom, maybe only return data and let ui handle presentation?!!?!?!?!! + + $mapper = new AccountMapper($this->app->dbPool->get()); + } + }