- Modified FHC_Model, now it is saving uid in CI session

- Added codeception tests
- Added statistik to dump.sql
- Moved old libraries to CI
This commit is contained in:
paolo
2016-06-06 16:36:23 +02:00
parent dabcf8188b
commit 0dc605df3c
19 changed files with 209 additions and 34 deletions
@@ -46,6 +46,32 @@ class Statistik extends APIv1_Controller
$this->response();
}
}
/**
* @return void
*/
public function getAll()
{
$this->StatistikModel->addOrder($this->get('order'));
$result = $this->StatistikModel->loadWhole();
$this->response($result, REST_Controller::HTTP_OK);
}
/**
* @return void
*/
public function getMenueArray()
{
$this->StatistikModel->addOrder('gruppe');
$this->StatistikModel->addOrder('bezeichnung');
$this->StatistikModel->addOrder('statistik_kurzbz');
$result = $this->StatistikModel->loadWhole();
$this->response($result, REST_Controller::HTTP_OK);
}
/**
* @return void