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