From 141a2b9f616d1b4e962f42487937128ae0a69a79 Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Tue, 21 May 2013 08:40:53 +0000 Subject: [PATCH] =?UTF-8?q?f=C3=BCr=20die=20funktion=20getLVPlanFromUser?= =?UTF-8?q?=20wird=20jetzt=20zu=20jeder=20lehreinheit=20dessen=20lehrform?= =?UTF-8?q?=20zur=C3=BCckgegeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soap/lvplan.soap.php | 11 ++++++++++- soap/lvplan.wsdl.php | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/soap/lvplan.soap.php b/soap/lvplan.soap.php index 31a5faf3b..118bcf0d6 100755 --- a/soap/lvplan.soap.php +++ b/soap/lvplan.soap.php @@ -104,6 +104,12 @@ function getLVPlanFromUser($uid, $von, $bis, $authentifizierung) $Object->semester = $le->semester; $Object->institut = $le->fachbereich_kurzbz; $Object->lehrveranstaltung_id = $le->lehrveranstaltung_id; + + $le_help = new lehreinheit(); + if($le_help->load($le->lehreinheit_id)) + $Object->lehrform = $le_help->lehrform_kurzbz; + else + $Object->lehrform = ''; } if(isset($Object->lehrveranstaltung_id)) @@ -112,8 +118,11 @@ function getLVPlanFromUser($uid, $von, $bis, $authentifizierung) $Object->titel = $lv->bezeichnung; } else + { $Object->titel = $row->titel; - + + } + //$Object->lehrform = $row->lehrform; $Object->anmerkung = $row->anmerkung; $Object->stunde = $row->stunde; $Object->datum = $row->datum; diff --git a/soap/lvplan.wsdl.php b/soap/lvplan.wsdl.php index 644f27fb4..0b0498c71 100755 --- a/soap/lvplan.wsdl.php +++ b/soap/lvplan.wsdl.php @@ -38,6 +38,7 @@ echo ""; +