mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-06 14:49:27 +00:00
added method to get all data
This commit is contained in:
@@ -70,6 +70,13 @@ class Orgform extends APIv1_Controller
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
$result = $this->OrgformModel->loadWhole();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
private function _validate($orgform = NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user