mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
- Added method getStudienplan to the controller Studienplan
- Introduced parameter new in method postPrestudentstatus of the controller Prestudentstatus
This commit is contained in:
@@ -28,6 +28,22 @@ class Studienplan extends APIv1_Controller
|
||||
$this->StudienplanModel->setUID($this->_getUID());
|
||||
}
|
||||
|
||||
public function getStudienplan()
|
||||
{
|
||||
$studienplan_id = $this->get('studienplan_id');
|
||||
|
||||
if (isset($studienplan_id))
|
||||
{
|
||||
$result = $this->StudienplanModel->load($studienplan_id);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
public function getStudienplaene()
|
||||
{
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
|
||||
Reference in New Issue
Block a user