added method to get all data

This commit is contained in:
Stefan Puraner
2016-05-24 09:27:27 +02:00
parent c6efbac308
commit facb7750d7
@@ -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)
{