mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user